[][src]Trait infrared::remotes::Remote

pub trait Remote: From<u32> {
    type Action;
    fn action(&self) -> Option<Self::Action>;
fn data(&self) -> (u16, u16); }

Associated Types

type Action

Loading content...

Required methods

fn action(&self) -> Option<Self::Action>

Retrieve the action

fn data(&self) -> (u16, u16)

Get the address and command values

Loading content...

Implementors

impl Remote for SamsungTv[src]

type Action = SamsungTvAction

impl Remote for SpecialForMp3[src]

type Action = SpecialForMp3Action

impl<R1, R2> Remote for Combine<R1, R2> where
    R1: Remote,
    R2: Remote
[src]

type Action = (Option<R1::Action>, Option<R2::Action>)

Loading content...