#[repr(C)]pub struct Argument(/* private fields */);
Expand description
Argumentument for CMD16.
Implementations§
Source§impl Argument
impl Argument
Sourcepub const fn block_length(&self) -> u32
pub const fn block_length(&self) -> u32
Getter for block_length field of Argument.
Configures the block length of memory read/write operations.
Only has an effect for standard SD cards.
SDHC, SDXC, and SDUC cards have a fixed block length of 512 bytes.
Sourcepub fn set_block_length(&mut self, val: u32)
pub fn set_block_length(&mut self, val: u32)
Setter for block_length field of Argument.
Configures the block length of memory read/write operations.
Only has an effect for standard SD cards.
SDHC, SDXC, and SDUC cards have a fixed block length of 512 bytes.
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