[][src]Trait infrared::nec::NecTypeTrait

pub trait NecTypeTrait {
    const PULSEDISTANCE: &'static Pulsedistance;
    const PROTOCOL: ProtocolId;

    fn encode_command(cmd: NecCommand) -> u32;
fn decode_command(bits: u32) -> NecCommand;
fn verify_command(bits: u32) -> bool; }

Associated Constants

Loading content...

Required methods

fn encode_command(cmd: NecCommand) -> u32

fn decode_command(bits: u32) -> NecCommand

fn verify_command(bits: u32) -> bool

Loading content...

Implementors

impl NecTypeTrait for Nec16Type[src]

impl NecTypeTrait for SamsungType[src]

impl NecTypeTrait for StandardType[src]

Loading content...