Struct libc::genlmsghdr
source · [−]Fields
cmd: u8
version: u8
reserved: u16
Trait Implementations
sourceimpl Clone for genlmsghdr
impl Clone for genlmsghdr
sourcefn clone(&self) -> genlmsghdr
fn clone(&self) -> genlmsghdr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for genlmsghdr
Auto Trait Implementations
impl RefUnwindSafe for genlmsghdr
impl Send for genlmsghdr
impl Sync for genlmsghdr
impl Unpin for genlmsghdr
impl UnwindSafe for genlmsghdr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more