#[repr(u8)]pub enum P4addrIdx1st {
DATAOFF = 0,
IDXOFF = 1,
}Variants§
DATAOFF = 0
Index is higher address than data (for example, data at OFF, index at OFF+IDXOFF)
IDXOFF = 1
Index is lower address than data (for example, index at OFF, data at OFF+IDXOFF)
Implementations§
Source§impl P4addrIdx1st
impl P4addrIdx1st
Trait Implementations§
Source§impl Clone for P4addrIdx1st
impl Clone for P4addrIdx1st
Source§fn clone(&self) -> P4addrIdx1st
fn clone(&self) -> P4addrIdx1st
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for P4addrIdx1st
impl Debug for P4addrIdx1st
Source§impl From<P4addrIdx1st> for u8
impl From<P4addrIdx1st> for u8
Source§fn from(val: P4addrIdx1st) -> u8
fn from(val: P4addrIdx1st) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P4addrIdx1st
impl From<u8> for P4addrIdx1st
Source§fn from(val: u8) -> P4addrIdx1st
fn from(val: u8) -> P4addrIdx1st
Converts to this type from the input type.
Source§impl Ord for P4addrIdx1st
impl Ord for P4addrIdx1st
Source§fn cmp(&self, other: &P4addrIdx1st) -> Ordering
fn cmp(&self, other: &P4addrIdx1st) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for P4addrIdx1st
impl PartialEq for P4addrIdx1st
Source§impl PartialOrd for P4addrIdx1st
impl PartialOrd for P4addrIdx1st
impl Copy for P4addrIdx1st
impl Eq for P4addrIdx1st
impl StructuralPartialEq for P4addrIdx1st
Auto Trait Implementations§
impl Freeze for P4addrIdx1st
impl RefUnwindSafe for P4addrIdx1st
impl Send for P4addrIdx1st
impl Sync for P4addrIdx1st
impl Unpin for P4addrIdx1st
impl UnwindSafe for P4addrIdx1st
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