#[repr(transparent)]pub struct GPAddr(pub usize);
Expand description
Wrapper type for guest physical addresses.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Ord for GPAddr
impl Ord for GPAddr
source§impl PartialEq for GPAddr
impl PartialEq for GPAddr
source§impl PartialOrd for GPAddr
impl PartialOrd for GPAddr
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for GPAddr
impl Eq for GPAddr
impl StructuralPartialEq for GPAddr
Auto Trait Implementations§
impl Freeze for GPAddr
impl RefUnwindSafe for GPAddr
impl Send for GPAddr
impl Sync for GPAddr
impl Unpin for GPAddr
impl UnwindSafe for GPAddr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)