Struct infrared::protocol::nec::NecCommand
source · Fields§
§addr: u8
§cmd: u8
§repeat: bool
Trait Implementations§
source§impl AddressCommand for NecCommand
impl AddressCommand for NecCommand
source§impl Clone for NecCommand
impl Clone for NecCommand
source§fn clone(&self) -> NecCommand
fn clone(&self) -> NecCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NecCommand
impl Debug for NecCommand
source§impl From<NecCommand> for MultiReceiverCommand
impl From<NecCommand> for MultiReceiverCommand
source§fn from(cmd: NecCommand) -> MultiReceiverCommand
fn from(cmd: NecCommand) -> MultiReceiverCommand
Converts to this type from the input type.
source§impl NecCommandVariant for NecCommand
impl NecCommandVariant for NecCommand
source§impl PartialEq<NecCommand> for NecCommand
impl PartialEq<NecCommand> for NecCommand
source§fn eq(&self, other: &NecCommand) -> bool
fn eq(&self, other: &NecCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.