Struct libc_interface::genlmsghdr [−][src]
#[repr(C)]pub struct genlmsghdr { pub cmd: u8, pub version: u8, pub reserved: u16, }
Fields
cmd: u8
version: u8
reserved: u16
Trait Implementations
impl Copy for genlmsghdr
[src]
impl Copy for genlmsghdr
impl Clone for genlmsghdr
[src]
impl Clone for genlmsghdr
fn clone(&self) -> genlmsghdr
[src]
fn clone(&self) -> genlmsghdr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for genlmsghdr
[src]
impl PartialEq for genlmsghdr
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for genlmsghdr
[src]
impl Eq for genlmsghdr
Auto Trait Implementations
impl Send for genlmsghdr
impl Send for genlmsghdr
impl Sync for genlmsghdr
impl Sync for genlmsghdr