#[repr(C)]pub struct Argument(/* private fields */);
Expand description
Argumentument for CMD59.
Implementations§
Source§impl Argument
impl Argument
Sourcepub const fn bus(&self) -> BlockUnitSelect
pub const fn bus(&self) -> BlockUnitSelect
Gets the bus
field of the Argument.
Sourcepub fn set_bus(&mut self, val: BlockUnitSelect)
pub fn set_bus(&mut self, val: BlockUnitSelect)
Sets the bus
field of the Argument.
Sourcepub fn set_fno(&mut self, val: u8)
pub fn set_fno(&mut self, val: u8)
Sets the fno
field of the Argument.
§Note
The function number range depends on the Mio field:
- Mio::Memory:
0 - 15
- Mio::Io:
0 - 7
Sourcepub const fn buc(&self) -> BlockUnitCount
pub const fn buc(&self) -> BlockUnitCount
Gets the buc
field of the Argument.
Sourcepub fn set_buc(&mut self, val: BlockUnitCount)
pub fn set_buc(&mut self, val: BlockUnitCount)
Sets the buc
field of the Argument.
Sourcepub const fn try_from_bits(val: u32) -> Result<Self>
pub const fn try_from_bits(val: u32) -> Result<Self>
Sourcepub const fn try_from_bytes(val: &[u8]) -> Result<Self>
pub const fn try_from_bytes(val: &[u8]) -> Result<Self>
Attempts to convert a byte slice into an Argument
.
Trait Implementations§
impl Copy for Argument
impl Eq for Argument
impl StructuralPartialEq for Argument
Auto Trait Implementations§
impl Freeze for Argument
impl RefUnwindSafe for Argument
impl Send for Argument
impl Sync for Argument
impl Unpin for Argument
impl UnwindSafe for Argument
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