#[repr(transparent)]pub struct P2datain(pub u32);Expand description
Port Data Input
Tuple Fields§
§0: u32Implementations§
Source§impl P2datain
impl P2datain
Sourcepub const fn set_data_len(&mut self, val: u8)
pub const fn set_data_len(&mut self, val: u8)
Data Length
Sourcepub const fn dir(&self) -> P2datainDir
pub const fn dir(&self) -> P2datainDir
Direction of last access
Sourcepub const fn set_dir(&mut self, val: P2datainDir)
pub const fn set_dir(&mut self, val: P2datainDir)
Direction of last access
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