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