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