pub enum MemoryRegionPurpose {
Bios,
GuestMemoryRegion,
ProtectedFirmwareRegion,
}
Variants§
Trait Implementations§
source§impl Clone for MemoryRegionPurpose
impl Clone for MemoryRegionPurpose
source§fn clone(&self) -> MemoryRegionPurpose
fn clone(&self) -> MemoryRegionPurpose
Returns a copy 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 MemoryRegionPurpose
impl Debug for MemoryRegionPurpose
source§impl Default for MemoryRegionPurpose
impl Default for MemoryRegionPurpose
source§fn default() -> MemoryRegionPurpose
fn default() -> MemoryRegionPurpose
Returns the “default value” for a type. Read more
source§impl Ord for MemoryRegionPurpose
impl Ord for MemoryRegionPurpose
source§fn cmp(&self, other: &MemoryRegionPurpose) -> Ordering
fn cmp(&self, other: &MemoryRegionPurpose) -> 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 MemoryRegionPurpose
impl PartialEq for MemoryRegionPurpose
source§fn eq(&self, other: &MemoryRegionPurpose) -> bool
fn eq(&self, other: &MemoryRegionPurpose) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MemoryRegionPurpose
impl PartialOrd for MemoryRegionPurpose
source§fn partial_cmp(&self, other: &MemoryRegionPurpose) -> Option<Ordering>
fn partial_cmp(&self, other: &MemoryRegionPurpose) -> Option<Ordering>
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 MemoryRegionPurpose
impl Eq for MemoryRegionPurpose
impl StructuralPartialEq for MemoryRegionPurpose
Auto Trait Implementations§
impl RefUnwindSafe for MemoryRegionPurpose
impl Send for MemoryRegionPurpose
impl Sync for MemoryRegionPurpose
impl Unpin for MemoryRegionPurpose
impl UnwindSafe for MemoryRegionPurpose
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