Struct infrared::protocol::nec::AppleNecCommand
source · pub struct AppleNecCommand {
pub command_page: u8,
pub command: u8,
pub device_id: u8,
pub repeat: bool,
}
Fields§
§command_page: u8
§command: u8
§device_id: u8
§repeat: bool
Trait Implementations§
source§impl AddressCommand for AppleNecCommand
impl AddressCommand for AppleNecCommand
source§impl Clone for AppleNecCommand
impl Clone for AppleNecCommand
source§fn clone(&self) -> AppleNecCommand
fn clone(&self) -> AppleNecCommand
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 Command for AppleNecCommand
impl Command for AppleNecCommand
source§impl Debug for AppleNecCommand
impl Debug for AppleNecCommand
source§impl From<AppleNecCommand> for MultiReceiverCommand
impl From<AppleNecCommand> for MultiReceiverCommand
source§fn from(cmd: AppleNecCommand) -> MultiReceiverCommand
fn from(cmd: AppleNecCommand) -> MultiReceiverCommand
Converts to this type from the input type.
source§impl NecCommandVariant for AppleNecCommand
impl NecCommandVariant for AppleNecCommand
source§impl PartialEq<AppleNecCommand> for AppleNecCommand
impl PartialEq<AppleNecCommand> for AppleNecCommand
source§fn eq(&self, other: &AppleNecCommand) -> bool
fn eq(&self, other: &AppleNecCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.