[][src]Struct infrared::protocols::rc5::Rc5Command

pub struct Rc5Command {
    pub addr: u8,
    pub cmd: u8,
    pub start: u8,
    pub toggle: u8,
}

Fields

addr: u8cmd: u8start: u8toggle: u8

Implementations

impl Rc5Command[src]

pub const fn new(addr: u8, cmd: u8, toggle: bool) -> Self[src]

pub const fn from_bits(bits: u16) -> Self[src]

pub fn to_bits(&self) -> u16[src]

Trait Implementations

impl Clone for Rc5Command[src]

impl Command for Rc5Command[src]

impl Copy for Rc5Command[src]

impl Debug for Rc5Command[src]

impl Eq for Rc5Command[src]

impl PartialEq<Rc5Command> for Rc5Command[src]

impl StructuralEq for Rc5Command[src]

impl StructuralPartialEq for Rc5Command[src]

Auto Trait Implementations

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.