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