#[repr(C)]pub enum OperationMode {
Inactive = 0,
CardIdentification = 1,
DataTransfer = 2,
}
Expand description
Represents the operation modes of an SD card.
Variants§
Implementations§
Source§impl OperationMode
impl OperationMode
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new OperationMode.
Trait Implementations§
Source§impl Clone for OperationMode
impl Clone for OperationMode
Source§fn clone(&self) -> OperationMode
fn clone(&self) -> OperationMode
Returns a copy 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 OperationMode
impl Debug for OperationMode
Source§impl Default for OperationMode
impl Default for OperationMode
Source§impl PartialEq for OperationMode
impl PartialEq for OperationMode
impl Copy for OperationMode
impl Eq for OperationMode
impl StructuralPartialEq for OperationMode
Auto Trait Implementations§
impl Freeze for OperationMode
impl RefUnwindSafe for OperationMode
impl Send for OperationMode
impl Sync for OperationMode
impl Unpin for OperationMode
impl UnwindSafe for OperationMode
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