#[repr(C)]pub struct libmnt_optmap {
pub name: *const c_char,
pub id: c_int,
pub mask: c_int,
}Expand description
libmnt_optmap: @name: option name[=type] where type is printf-like type specifier“) @id: option ID or MS_* flags (e.g MS_RDONLY) @mask: MNT_{NOMTAB,INVERT,…} mask
Mount options description (map)
Fields§
§name: *const c_char§id: c_int§mask: c_intTrait Implementations§
source§impl Clone for libmnt_optmap
impl Clone for libmnt_optmap
source§fn clone(&self) -> libmnt_optmap
fn clone(&self) -> libmnt_optmap
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for libmnt_optmap
impl Debug for libmnt_optmap
impl Copy for libmnt_optmap
Auto Trait Implementations§
impl Freeze for libmnt_optmap
impl RefUnwindSafe for libmnt_optmap
impl !Send for libmnt_optmap
impl !Sync for libmnt_optmap
impl Unpin for libmnt_optmap
impl UnwindSafe for libmnt_optmap
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)