pub struct Mmsghdr { /* private fields */ }
Implementations§
Source§impl Mmsghdr
impl Mmsghdr
Sourcepub fn new_zeroed_on_heap() -> Self
pub fn new_zeroed_on_heap() -> Self
creates zeroed struct where the underlying c struct is on the heap
Sourcepub fn new_zeroed_on_stack() -> Self
pub fn new_zeroed_on_stack() -> Self
creates zeroed struct where the underlying c struct is on the stack (Use with care)
pub fn get_inner(&self) -> *mut mmsghdr
pub fn get_inner_mut(&self) -> &mut mmsghdr
pub fn get_inner_ref(&self) -> &mmsghdr
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mmsghdr
impl !RefUnwindSafe for Mmsghdr
impl !Send for Mmsghdr
impl !Sync for Mmsghdr
impl Unpin for Mmsghdr
impl !UnwindSafe for Mmsghdr
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