pub struct GET_CAPABILITIES;Trait Implementations§
Source§impl Clone for GET_CAPABILITIES
impl Clone for GET_CAPABILITIES
Source§fn clone(&self) -> GET_CAPABILITIES
fn clone(&self) -> GET_CAPABILITIES
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ControlCommand for GET_CAPABILITIES
impl ControlCommand for GET_CAPABILITIES
const IDENTIFIER: ControlCommandIdentifier
Source§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.
Source§type Output = u8
type Output = u8
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>
Source§impl Debug for GET_CAPABILITIES
impl Debug for GET_CAPABILITIES
impl Copy for GET_CAPABILITIES
Auto Trait Implementations§
impl Freeze for GET_CAPABILITIES
impl RefUnwindSafe for GET_CAPABILITIES
impl Send for GET_CAPABILITIES
impl Sync for GET_CAPABILITIES
impl Unpin for GET_CAPABILITIES
impl UnsafeUnpin for GET_CAPABILITIES
impl UnwindSafe for GET_CAPABILITIES
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