[][src]Struct infrared::protocols::Nec

pub struct Nec<N = NecStandard> {
    pub bitbuf: u32,
    // some fields omitted
}

Generic type for Nec Receiver

Fields

bitbuf: u32

Implementations

impl<VARIANT: NecVariant> Nec<VARIANT>[src]

Nec decoder statemachine

pub fn new() -> Self[src]

Trait Implementations

impl<N: NecVariant> Default for Nec<N>[src]

impl<N: NecVariant> ReceiverSM for Nec<N>[src]

type Cmd = NecCommand<N>

The Resulting Command Type

type InternalState = InternalState

Internal State

Auto Trait Implementations

impl<N> Send for Nec<N> where
    N: Send
[src]

impl<N> Sync for Nec<N> where
    N: Sync
[src]

impl<N> Unpin for Nec<N> where
    N: Unpin
[src]

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, 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.