#[repr(u8)]pub enum P2addrIdx1st {
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 P2addrIdx1st
impl P2addrIdx1st
Trait Implementations§
Source§impl Clone for P2addrIdx1st
impl Clone for P2addrIdx1st
Source§fn clone(&self) -> P2addrIdx1st
fn clone(&self) -> P2addrIdx1st
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 P2addrIdx1st
impl Debug for P2addrIdx1st
Source§impl From<P2addrIdx1st> for u8
impl From<P2addrIdx1st> for u8
Source§fn from(val: P2addrIdx1st) -> u8
fn from(val: P2addrIdx1st) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P2addrIdx1st
impl From<u8> for P2addrIdx1st
Source§fn from(val: u8) -> P2addrIdx1st
fn from(val: u8) -> P2addrIdx1st
Converts to this type from the input type.
Source§impl Ord for P2addrIdx1st
impl Ord for P2addrIdx1st
Source§fn cmp(&self, other: &P2addrIdx1st) -> Ordering
fn cmp(&self, other: &P2addrIdx1st) -> 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 P2addrIdx1st
impl PartialEq for P2addrIdx1st
Source§impl PartialOrd for P2addrIdx1st
impl PartialOrd for P2addrIdx1st
impl Copy for P2addrIdx1st
impl Eq for P2addrIdx1st
impl StructuralPartialEq for P2addrIdx1st
Auto Trait Implementations§
impl Freeze for P2addrIdx1st
impl RefUnwindSafe for P2addrIdx1st
impl Send for P2addrIdx1st
impl Sync for P2addrIdx1st
impl Unpin for P2addrIdx1st
impl UnwindSafe for P2addrIdx1st
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