pub struct GET_STATE;Trait Implementations§
Source§impl ControlCommand for GET_STATE
impl ControlCommand for GET_STATE
const IDENTIFIER: ControlCommandIdentifier
type Input = ()
type Output = bool
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 GET_STATE
Auto Trait Implementations§
impl Freeze for GET_STATE
impl RefUnwindSafe for GET_STATE
impl Send for GET_STATE
impl Sync for GET_STATE
impl Unpin for GET_STATE
impl UnwindSafe for GET_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