Trait infrared::protocol::nec::NecCommandVariant
source · pub trait NecCommandVariant: Sized {
const PULSE_DISTANCE: &'static NecPulseLen;
fn validate(bits: u32) -> bool;
fn unpack(bits: u32, repeat: bool) -> Option<Self>;
fn pack(&self) -> u32;
}
Expand description
Nec Command Variant