pub struct NecFrame {
pub address: u8,
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: u8Checked NEC Address
data: u8Checked NEC Data
Implementations§
Trait Implementations§
impl Copy for NecFrame
impl Eq for NecFrame
impl StructuralPartialEq for NecFrame
Auto Trait Implementations§
impl Freeze for NecFrame
impl RefUnwindSafe for NecFrame
impl Send for NecFrame
impl Sync for NecFrame
impl Unpin for NecFrame
impl UnsafeUnpin for NecFrame
impl UnwindSafe for NecFrame
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