pub struct NecCommand {
pub addr: u8,
pub cmd: u8,
pub repeat: bool,
}
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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 for NecCommand
impl PartialEq for NecCommand
impl Copy for NecCommand
impl StructuralPartialEq for NecCommand
Auto Trait Implementations§
impl Freeze for NecCommand
impl RefUnwindSafe for NecCommand
impl Send for NecCommand
impl Sync for NecCommand
impl Unpin for NecCommand
impl UnwindSafe for NecCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more