#[repr(transparent)]pub struct P2dataIn(pub u32);Expand description
no description available
Tuple Fields§
§0: u32Implementations§
Source§impl P2dataIn
impl P2dataIn
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 P2dataIn
impl Eq for P2dataIn
impl StructuralPartialEq for P2dataIn
Auto Trait Implementations§
impl Freeze for P2dataIn
impl RefUnwindSafe for P2dataIn
impl Send for P2dataIn
impl Sync for P2dataIn
impl Unpin for P2dataIn
impl UnwindSafe for P2dataIn
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