#[repr(transparent)]pub struct P1dataIn(pub u32);Expand description
no description available
Tuple Fields§
§0: u32Implementations§
Source§impl P1dataIn
impl P1dataIn
Sourcepub const fn data_len(&self) -> u8
pub const fn data_len(&self) -> u8
Meaning is dependent on type of port: If endpoint or index/data: is data byte If Mailbox or Bus master or Flash: is count in last message, 0 relative If SAF, is count in last message including address (so, +4), 0 relative
Sourcepub const fn set_data_len(&mut self, val: u8)
pub const fn set_data_len(&mut self, val: u8)
Meaning is dependent on type of port: If endpoint or index/data: is data byte If Mailbox or Bus master or Flash: is count in last message, 0 relative If SAF, is count in last message including address (so, +4), 0 relative
Trait Implementations§
impl Copy for P1dataIn
impl Eq for P1dataIn
impl StructuralPartialEq for P1dataIn
Auto Trait Implementations§
impl Freeze for P1dataIn
impl RefUnwindSafe for P1dataIn
impl Send for P1dataIn
impl Sync for P1dataIn
impl Unpin for P1dataIn
impl UnwindSafe for P1dataIn
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