Struct libc_interface::nlattr [−][src]
#[repr(C)]pub struct nlattr { pub nla_len: u16, pub nla_type: u16, }
Fields
nla_len: u16
nla_type: u16
Trait Implementations
impl Copy for nlattr
[src]
impl Copy for nlattr
impl Clone for nlattr
[src]
impl Clone for nlattr
fn clone(&self) -> nlattr
[src]
fn clone(&self) -> nlattr
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 nlattr
[src]
impl PartialEq for nlattr
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 nlattr
[src]
impl Eq for nlattr