pub struct SET_CONFIGURATION;Trait Implementations§
Source§impl Clone for SET_CONFIGURATION
impl Clone for SET_CONFIGURATION
Source§fn clone(&self) -> SET_CONFIGURATION
fn clone(&self) -> SET_CONFIGURATION
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 SET_CONFIGURATION
impl ControlCommand for SET_CONFIGURATION
const IDENTIFIER: ControlCommandIdentifier
Source§type Input = Configuration
type Input = Configuration
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>
Source§impl Debug for SET_CONFIGURATION
impl Debug for SET_CONFIGURATION
impl Copy for SET_CONFIGURATION
Auto Trait Implementations§
impl Freeze for SET_CONFIGURATION
impl RefUnwindSafe for SET_CONFIGURATION
impl Send for SET_CONFIGURATION
impl Sync for SET_CONFIGURATION
impl Unpin for SET_CONFIGURATION
impl UnsafeUnpin for SET_CONFIGURATION
impl UnwindSafe for SET_CONFIGURATION
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