#[repr(C)]pub struct Argument(/* private fields */);
Expand description
Argumentument for CMD6.
Implementations§
Source§impl Argument
impl Argument
Sourcepub const fn access_mode(&self) -> Result<AccessMode>
pub const fn access_mode(&self) -> Result<AccessMode>
Gets the AccessMode for the CMD6
Argument.
Sourcepub fn set_access_mode(&mut self, val: AccessMode)
pub fn set_access_mode(&mut self, val: AccessMode)
Sets the AccessMode for the CMD6
Argument.
Sourcepub const fn command_system(&self) -> Result<CommandSystem>
pub const fn command_system(&self) -> Result<CommandSystem>
Gets the CommandSystem for the CMD6
Argument.
Sourcepub fn set_command_system(&mut self, val: CommandSystem)
pub fn set_command_system(&mut self, val: CommandSystem)
Sets the CommandSystem for the CMD6
Argument.
Sourcepub const fn driver_strength(&self) -> Result<DriverStrength>
pub const fn driver_strength(&self) -> Result<DriverStrength>
Gets the DriverStrength for the CMD6
Argument.
Sourcepub fn set_driver_strength(&mut self, val: DriverStrength)
pub fn set_driver_strength(&mut self, val: DriverStrength)
Sets the DriverStrength for the CMD6
Argument.
Sourcepub const fn power_limit(&self) -> Result<PowerLimit>
pub const fn power_limit(&self) -> Result<PowerLimit>
Gets the PowerLimit for the CMD6
Argument.
Sourcepub fn set_power_limit(&mut self, val: PowerLimit)
pub fn set_power_limit(&mut self, val: PowerLimit)
Sets the PowerLimit for the CMD6
Argument.
Sourcepub const fn try_from_bits(val: u32) -> Result<Self>
pub const fn try_from_bits(val: u32) -> Result<Self>
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