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