[][src]Trait infrared::remote::RemoteControl

pub trait RemoteControl {
    type Action;
    fn decode(&self, raw: u32) -> Option<Self::Action>;
fn encode(&self, cmd: Self::Action) -> u32; }

Associated Types

type Action

Loading content...

Required methods

fn decode(&self, raw: u32) -> Option<Self::Action>

fn encode(&self, cmd: Self::Action) -> u32

Loading content...

Implementors

impl RemoteControl for SamsungTv[src]

type Action = SamsungTvAction

impl RemoteControl for SpecialForMp3[src]

type Action = SpecialForMp3Action

Loading content...