Struct hid_io_protocol::commands::h0051::Cmd
source · pub struct Cmd<const D: usize> {
pub command: Command,
pub argument: Argument,
pub data: Vec<u8, D>,
}
Fields
command: Command
argument: Argument
data: Vec<u8, D>
Trait Implementations
Auto Trait Implementations
impl<const D: usize> RefUnwindSafe for Cmd<D>
impl<const D: usize> Send for Cmd<D>
impl<const D: usize> Sync for Cmd<D>
impl<const D: usize> Unpin for Cmd<D>
impl<const D: usize> UnwindSafe for Cmd<D>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more