#[repr(u32)]pub enum CommandClass11 {
SendTuningBlock = 21,
SelectCardPartition = 39,
ReadExtraSingle = 48,
WriteExtraSingle = 49,
ReadExtraMultiple = 58,
WriteExtraMultiple = 59,
}
Expand description
MMC opcodes for Class 11.
Variants§
SendTuningBlock = 21
SelectCardPartition = 39
ReadExtraSingle = 48
WriteExtraSingle = 49
ReadExtraMultiple = 58
WriteExtraMultiple = 59
Implementations§
Source§impl CommandClass11
impl CommandClass11
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new CommandClass11.
Sourcepub const fn from_raw_unchecked(val: u32) -> Self
pub const fn from_raw_unchecked(val: u32) -> Self
Sourcepub const fn from_raw(val: u32) -> Result<Self, Error>
pub const fn from_raw(val: u32) -> Result<Self, Error>
Attempts to convert a u32
into a CommandClass11.
Sourcepub const fn into_raw(self) -> u32
pub const fn into_raw(self) -> u32
Converts a CommandClass11 into a u32
.
Trait Implementations§
Source§impl Clone for CommandClass11
impl Clone for CommandClass11
Source§fn clone(&self) -> CommandClass11
fn clone(&self) -> CommandClass11
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 CommandClass11
impl Debug for CommandClass11
Source§impl Default for CommandClass11
impl Default for CommandClass11
Source§impl From<CommandClass11> for u32
impl From<CommandClass11> for u32
Source§fn from(val: CommandClass11) -> Self
fn from(val: CommandClass11) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CommandClass11
impl PartialEq for CommandClass11
Source§impl TryFrom<u32> for CommandClass11
impl TryFrom<u32> for CommandClass11
impl Copy for CommandClass11
impl Eq for CommandClass11
impl StructuralPartialEq for CommandClass11
Auto Trait Implementations§
impl Freeze for CommandClass11
impl RefUnwindSafe for CommandClass11
impl Send for CommandClass11
impl Sync for CommandClass11
impl Unpin for CommandClass11
impl UnwindSafe for CommandClass11
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