Struct COMPUTE
pub struct COMPUTE;Trait Implementations§
§impl ControlCommand for COMPUTE
impl ControlCommand for COMPUTE
const IDENTIFIER: ControlCommandIdentifier
§type Input = ()
type Input = ()
Command payload sent to the device. Must be plain data: a payload byte
pattern can never be an invalid value of the payload type.
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 COMPUTE
Auto Trait Implementations§
impl Freeze for COMPUTE
impl RefUnwindSafe for COMPUTE
impl Send for COMPUTE
impl Sync for COMPUTE
impl Unpin for COMPUTE
impl UnsafeUnpin for COMPUTE
impl UnwindSafe for COMPUTE
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