pub struct MmcProfile {
pub active: bool,
pub kind: ProfileKind,
}Available on crate feature
mmc only.Expand description
A base set of functions for specific drive/media combination.
Fields§
§active: boolProfile’s current bit is set
kind: ProfileKindProfile type
Trait Implementations§
Source§impl Clone for MmcProfile
impl Clone for MmcProfile
Source§fn clone(&self) -> MmcProfile
fn clone(&self) -> MmcProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MmcProfile
Source§impl Debug for MmcProfile
impl Debug for MmcProfile
Source§impl Default for MmcProfile
impl Default for MmcProfile
Source§fn default() -> MmcProfile
fn default() -> MmcProfile
Returns the “default value” for a type. Read more
impl Eq for MmcProfile
Source§impl Hash for MmcProfile
impl Hash for MmcProfile
Source§impl Ord for MmcProfile
impl Ord for MmcProfile
Source§fn cmp(&self, other: &MmcProfile) -> Ordering
fn cmp(&self, other: &MmcProfile) -> Ordering
1.21.0 (const: unstable) · 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 MmcProfile
impl PartialEq for MmcProfile
Source§impl PartialOrd for MmcProfile
impl PartialOrd for MmcProfile
impl StructuralPartialEq for MmcProfile
Auto Trait Implementations§
impl Freeze for MmcProfile
impl RefUnwindSafe for MmcProfile
impl Send for MmcProfile
impl Sync for MmcProfile
impl Unpin for MmcProfile
impl UnsafeUnpin for MmcProfile
impl UnwindSafe for MmcProfile
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