pub struct NecExtendedFrame {
pub address: u16,
pub data: u8,
}Expand description
NEC data is sent in a 32 bit frame made from the normal and inverted address and data. This struct represents the unencoded data.
Fields§
§address: u16Checked NEC Address
data: u8Checked NEC Data
Implementations§
Trait Implementations§
Source§impl Clone for NecExtendedFrame
impl Clone for NecExtendedFrame
Source§fn clone(&self) -> NecExtendedFrame
fn clone(&self) -> NecExtendedFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NecExtendedFrame
Source§impl Debug for NecExtendedFrame
impl Debug for NecExtendedFrame
impl Eq for NecExtendedFrame
Source§impl Format for NecExtendedFrame
impl Format for NecExtendedFrame
Source§impl PartialEq for NecExtendedFrame
impl PartialEq for NecExtendedFrame
impl StructuralPartialEq for NecExtendedFrame
Auto Trait Implementations§
impl Freeze for NecExtendedFrame
impl RefUnwindSafe for NecExtendedFrame
impl Send for NecExtendedFrame
impl Sync for NecExtendedFrame
impl Unpin for NecExtendedFrame
impl UnsafeUnpin for NecExtendedFrame
impl UnwindSafe for NecExtendedFrame
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