Struct classicube_sys::cc_sockaddr_
source · #[repr(C)]pub struct cc_sockaddr_ {
pub size: c_int,
pub data: [cc_uint8; 512],
}
Fields§
§size: c_int
§data: [cc_uint8; 512]
Trait Implementations§
source§impl Clone for cc_sockaddr_
impl Clone for cc_sockaddr_
source§fn clone(&self) -> cc_sockaddr_
fn clone(&self) -> cc_sockaddr_
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for cc_sockaddr_
impl Debug for cc_sockaddr_
source§impl Hash for cc_sockaddr_
impl Hash for cc_sockaddr_
source§impl PartialEq for cc_sockaddr_
impl PartialEq for cc_sockaddr_
source§fn eq(&self, other: &cc_sockaddr_) -> bool
fn eq(&self, other: &cc_sockaddr_) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cc_sockaddr_
impl Eq for cc_sockaddr_
impl StructuralPartialEq for cc_sockaddr_
Auto Trait Implementations§
impl Freeze for cc_sockaddr_
impl RefUnwindSafe for cc_sockaddr_
impl Send for cc_sockaddr_
impl Sync for cc_sockaddr_
impl Unpin for cc_sockaddr_
impl UnwindSafe for cc_sockaddr_
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)