#[repr(C)]pub struct libmnt_optmap {
pub name: *const c_char,
pub id: c_int,
pub mask: c_int,
}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
Source§impl Ord for libmnt_optmap
impl Ord for libmnt_optmap
Source§fn cmp(&self, other: &libmnt_optmap) -> Ordering
fn cmp(&self, other: &libmnt_optmap) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for libmnt_optmap
impl PartialEq for libmnt_optmap
Source§impl PartialOrd for libmnt_optmap
impl PartialOrd for libmnt_optmap
impl Copy for libmnt_optmap
impl Eq for libmnt_optmap
impl StructuralPartialEq 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