#[repr(transparent)]pub struct P1datain(pub u32);Expand description
Port Data Input
Tuple Fields§
§0: u32Implementations§
Source§impl P1datain
impl P1datain
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) -> P1datainDir
pub const fn dir(&self) -> P1datainDir
Direction of last access
Sourcepub const fn set_dir(&mut self, val: P1datainDir)
pub const fn set_dir(&mut self, val: P1datainDir)
Direction of last access
Trait Implementations§
impl Copy for P1datain
impl Eq for P1datain
impl StructuralPartialEq for P1datain
Auto Trait Implementations§
impl Freeze for P1datain
impl RefUnwindSafe for P1datain
impl Send for P1datain
impl Sync for P1datain
impl Unpin for P1datain
impl UnwindSafe for P1datain
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