Struct infrared::protocol::nec::Nec16Command
source · Expand description
Nec Command with 16 bit address
Fields§
§addr: u16
§cmd: u8
§repeat: bool
Trait Implementations§
source§impl Clone for Nec16Command
impl Clone for Nec16Command
source§fn clone(&self) -> Nec16Command
fn clone(&self) -> Nec16Command
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 Nec16Command
impl Debug for Nec16Command
source§impl From<Nec16Command> for MultiReceiverCommand
impl From<Nec16Command> for MultiReceiverCommand
source§fn from(cmd: Nec16Command) -> MultiReceiverCommand
fn from(cmd: Nec16Command) -> MultiReceiverCommand
Converts to this type from the input type.
source§impl NecCommandVariant for Nec16Command
impl NecCommandVariant for Nec16Command
source§impl PartialEq<Nec16Command> for Nec16Command
impl PartialEq<Nec16Command> for Nec16Command
source§fn eq(&self, other: &Nec16Command) -> bool
fn eq(&self, other: &Nec16Command) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.