pub struct POWER_OFF;Trait Implementations§
Source§impl ControlCommand for POWER_OFF
impl ControlCommand for POWER_OFF
const IDENTIFIER: ControlCommandIdentifier
Source§type Input = u8
type Input = u8
Command payload sent to the device. Must be plain data: a payload byte
pattern can never be an invalid value of the payload type.
Source§type Output = ()
type Output = ()
Command payload returned by the device. Must be plain data for the same
reason.
fn cast_input(input: &AnyByLayout) -> Result<&Self::Input, Kind>
fn cast_output(output: &mut AnyByLayout) -> Result<&mut Self::Output, Kind>
fn cast<'i, 'o>( input: &'i AnyByLayout, output: &'o mut AnyByLayout, ) -> Result<(&'i Self::Input, &'o mut Self::Output), Kind>
impl Copy for POWER_OFF
Auto Trait Implementations§
impl Freeze for POWER_OFF
impl RefUnwindSafe for POWER_OFF
impl Send for POWER_OFF
impl Sync for POWER_OFF
impl Unpin for POWER_OFF
impl UnsafeUnpin for POWER_OFF
impl UnwindSafe for POWER_OFF
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