[][src]Struct joycon_rs::joycon::input_report_mode::sub_command_mode::SubCommandReport

pub struct SubCommandReport<RD> where
    RD: SubCommandReplyData
{ pub ack_byte: AckByte, pub sub_command_id: u8, pub reply: RD, }

Replies to sub-commands

Fields

ack_byte: AckBytesub_command_id: u8reply: RD

Trait Implementations

impl<RD: Clone> Clone for SubCommandReport<RD> where
    RD: SubCommandReplyData
[src]

impl<RD> Debug for SubCommandReport<RD> where
    RD: SubCommandReplyData + Debug
[src]

impl<RD> TryFrom<[u8; 349]> for SubCommandReport<RD> where
    RD: SubCommandReplyData
[src]

type Error = JoyConError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<RD> RefUnwindSafe for SubCommandReport<RD> where
    RD: RefUnwindSafe

impl<RD> Send for SubCommandReport<RD> where
    RD: Send

impl<RD> Sync for SubCommandReport<RD> where
    RD: Sync

impl<RD> Unpin for SubCommandReport<RD> where
    RD: Unpin

impl<RD> UnwindSafe for SubCommandReport<RD> where
    RD: 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> 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.