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