pub struct SET_STATE;Trait Implementations§
Source§impl ControlCommand for SET_STATE
impl ControlCommand for SET_STATE
const IDENTIFIER: ControlCommandIdentifier
type Input = bool
type Output = ()
fn cast_input(input: &AnyByLayout) -> Result<&Self::Input, Error>
fn cast_output(output: &mut AnyByLayout) -> Result<&mut Self::Output, Error>
fn cast<'i, 'o>( input: &'i AnyByLayout, output: &'o mut AnyByLayout, ) -> Result<(&'i Self::Input, &'o mut Self::Output), Error>
impl Copy for SET_STATE
Auto Trait Implementations§
impl Freeze for SET_STATE
impl RefUnwindSafe for SET_STATE
impl Send for SET_STATE
impl Sync for SET_STATE
impl Unpin for SET_STATE
impl UnwindSafe for SET_STATE
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