#[repr(C)]pub struct nlattr {
pub nla_len: u16,
pub nla_type: u16,
}
Fields
nla_len: u16
nla_type: u16
Trait Implementations
sourceimpl Hash for nlattr
impl Hash for nlattr
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [
Hasher
]. Read more1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moreimpl Copy for nlattr
impl Eq for nlattr
impl StructuralEq for nlattr
impl StructuralPartialEq for nlattr
Auto Trait Implementations
impl RefUnwindSafe for nlattr
impl Send for nlattr
impl Sync for nlattr
impl Unpin for nlattr
impl UnwindSafe for nlattr
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more