#[repr(u8)]pub enum P1addrBaseOrAsz {
OFFSET_FROM_0 = 0,
USE_BASE0 = 1,
USE_BASE1 = 2,
_RESERVED_3 = 3,
}Variants§
OFFSET_FROM_0 = 0
Is offset from 0 in host memory or IO space.
USE_BASE0 = 1
Uses BASE0 offset in host memory
USE_BASE1 = 2
Uses BASE1 offset in host memory
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Clone for P1addrBaseOrAsz
impl Clone for P1addrBaseOrAsz
Source§fn clone(&self) -> P1addrBaseOrAsz
fn clone(&self) -> P1addrBaseOrAsz
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 P1addrBaseOrAsz
impl Debug for P1addrBaseOrAsz
Source§impl From<P1addrBaseOrAsz> for u8
impl From<P1addrBaseOrAsz> for u8
Source§fn from(val: P1addrBaseOrAsz) -> u8
fn from(val: P1addrBaseOrAsz) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P1addrBaseOrAsz
impl From<u8> for P1addrBaseOrAsz
Source§fn from(val: u8) -> P1addrBaseOrAsz
fn from(val: u8) -> P1addrBaseOrAsz
Converts to this type from the input type.
Source§impl Ord for P1addrBaseOrAsz
impl Ord for P1addrBaseOrAsz
Source§fn cmp(&self, other: &P1addrBaseOrAsz) -> Ordering
fn cmp(&self, other: &P1addrBaseOrAsz) -> 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 P1addrBaseOrAsz
impl PartialEq for P1addrBaseOrAsz
Source§impl PartialOrd for P1addrBaseOrAsz
impl PartialOrd for P1addrBaseOrAsz
impl Copy for P1addrBaseOrAsz
impl Eq for P1addrBaseOrAsz
impl StructuralPartialEq for P1addrBaseOrAsz
Auto Trait Implementations§
impl Freeze for P1addrBaseOrAsz
impl RefUnwindSafe for P1addrBaseOrAsz
impl Send for P1addrBaseOrAsz
impl Sync for P1addrBaseOrAsz
impl Unpin for P1addrBaseOrAsz
impl UnwindSafe for P1addrBaseOrAsz
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