#[repr(u32)]pub enum CommandClass {
Class0(CommandClass0),
Class1(CommandClass1),
Class2(CommandClass2),
Class4(CommandClass4),
Class5(CommandClass5),
Class6(CommandClass6),
Class7(CommandClass7),
Class8(CommandClass8),
Class9(CommandClass9),
Class10(CommandClass10),
Class11(CommandClass11),
}
Expand description
Represents the MMC Card Command Class
.
Variants§
Class0(CommandClass0)
Class1(CommandClass1)
Class2(CommandClass2)
Class4(CommandClass4)
Class5(CommandClass5)
Class6(CommandClass6)
Class7(CommandClass7)
Class8(CommandClass8)
Class9(CommandClass9)
Class10(CommandClass10)
Class11(CommandClass11)
Implementations§
Source§impl CommandClass
impl CommandClass
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new CommandClass.
Trait Implementations§
Source§impl Clone for CommandClass
impl Clone for CommandClass
Source§fn clone(&self) -> CommandClass
fn clone(&self) -> CommandClass
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 CommandClass
impl Debug for CommandClass
Source§impl Default for CommandClass
impl Default for CommandClass
Source§impl PartialEq for CommandClass
impl PartialEq for CommandClass
impl Copy for CommandClass
impl Eq for CommandClass
impl StructuralPartialEq for CommandClass
Auto Trait Implementations§
impl Freeze for CommandClass
impl RefUnwindSafe for CommandClass
impl Send for CommandClass
impl Sync for CommandClass
impl Unpin for CommandClass
impl UnwindSafe for CommandClass
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