#[repr(C)]pub struct Argument(/* private fields */);
Expand description
Argument for CMD20.
Implementations§
Source§impl Argument
impl Argument
Source§impl Argument
impl Argument
Sourcepub const fn vsc(&self) -> VideoSpeedClass
pub const fn vsc(&self) -> VideoSpeedClass
Gets the VideoSpeedClass in Video speed mode.
Sourcepub fn set_vsc(&mut self, val: VideoSpeedClass)
pub fn set_vsc(&mut self, val: VideoSpeedClass)
Gets the VideoSpeedClass in Video speed mode.
Sourcepub const fn scc(&self) -> Result<SpeedClassControl>
pub const fn scc(&self) -> Result<SpeedClassControl>
Sourcepub fn set_scc(&mut self, val: SpeedClassControl)
pub fn set_scc(&mut self, val: SpeedClassControl)
Sets the SpeedClassControl in legacy and UHS mode.
§Note
Changes the VideoSpeedClass to legacy UHS mode.
Sourcepub const fn vscc(&self) -> Result<VideoSpeedClassControl>
pub const fn vscc(&self) -> Result<VideoSpeedClassControl>
Sourcepub fn set_vscc(&mut self, val: VideoSpeedClassControl)
pub fn set_vscc(&mut self, val: VideoSpeedClassControl)
Sets the VideoSpeedClassControl for Video speed mode.
§Note
Changes the VideoSpeedClass to video mode.
Sourcepub fn set_cnt_id(&mut self, val: u8)
pub fn set_cnt_id(&mut self, val: u8)
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