#[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 duplicate of the value. Read more
1.0.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