[−][src]Struct infrared::nec::NecCommand
A Nec Command
Fields
addr: u8
cmd: u8
Methods
impl NecCommand
[src]
Trait Implementations
impl RemoteControl<NecCommand> for SamsungTv
[src]
type Button = SamsungTvButton
The type of the buttons
fn decode(&self, cmd: NecCommand) -> Option<SamsungTvButton>
[src]
fn encode(&self, action: SamsungTvButton) -> NecCommand
[src]
impl RemoteControl<NecCommand> for SpecialForMp3
[src]
type Button = SpecialForMp3Button
The type of the buttons
fn decode(&self, raw: NecCommand) -> Option<SpecialForMp3Button>
[src]
fn encode(&self, button: SpecialForMp3Button) -> NecCommand
[src]
impl<NECTYPE> Transmitter<NecCommand> for NecTypeTransmitter<NECTYPE> where
NECTYPE: NecTypeTrait,
[src]
NECTYPE: NecTypeTrait,
fn load(&mut self, cmd: NecCommand)
[src]
fn step(&mut self, ts: u32) -> TransmitterState
[src]
fn reset(&mut self)
[src]
impl Debug for NecCommand
[src]
impl Copy for NecCommand
[src]
impl Clone for NecCommand
[src]
fn clone(&self) -> NecCommand
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,