#[repr(u8)]pub enum Access {
CommandSet = 0,
SetBits = 1,
ClearBits = 2,
WriteByte = 3,
}Expand description
Represents the EXT_CSD access mode for the Argument.
Variants§
CommandSet = 0
Changes the command set based on the cmd_set field in the Argument.
SetBits = 1
Sets the bits in the byte pointed to by index are set according to the value field.
ClearBits = 2
Clears the bits in the byte pointed to by index are set according to the value field.
WriteByte = 3
Writes the byte pointed to by index with the value field.
Implementations§
Trait Implementations§
impl Copy for Access
impl Eq for Access
impl StructuralPartialEq for Access
Auto Trait Implementations§
impl Freeze for Access
impl RefUnwindSafe for Access
impl Send for Access
impl Sync for Access
impl Unpin for Access
impl UnwindSafe for Access
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