Struct hid_io_protocol::commands::h0051::Cmd[][src]

pub struct Cmd<D: ArrayLength<u8>> {
    pub command: u16,
    pub argument: u16,
    pub data: Vec<u8, D>,
}

Fields

command: u16argument: u16data: Vec<u8, D>

Trait Implementations

impl<D: Clone + ArrayLength<u8>> Clone for Cmd<D>[src]

impl<D: Debug + ArrayLength<u8>> Debug for Cmd<D>[src]

Auto Trait Implementations

impl<D> RefUnwindSafe for Cmd<D> where
    <D as ArrayLength<u8>>::ArrayType: RefUnwindSafe

impl<D> Send for Cmd<D>

impl<D> Sync for Cmd<D>

impl<D> Unpin for Cmd<D> where
    <D as ArrayLength<u8>>::ArrayType: Unpin

impl<D> UnwindSafe for Cmd<D> where
    <D as ArrayLength<u8>>::ArrayType: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.