[][src]Struct infrared::rc5::Rc5Receiver

pub struct Rc5Receiver {
    pub rc5cntr: u32,
    // some fields omitted
}

Fields

rc5cntr: u32

Methods

impl Rc5Receiver[src]

pub fn new(samplerate: u32) -> Self[src]

pub fn interval_to_units(&self, interval: u16) -> Option<u32>[src]

Trait Implementations

impl Receiver for Rc5Receiver[src]

type Cmd = Rc5Command

The resulting command type

type Err = Rc5Error

Receive Error

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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