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