Struct tartan_uefi::MemoryType
source · pub struct MemoryType(/* private fields */);
Implementations§
source§impl MemoryType
impl MemoryType
sourcepub const LoaderCode: Self = _
pub const LoaderCode: Self = _
Memory used for UEFI application code.
sourcepub const LoaderData: Self = _
pub const LoaderData: Self = _
Memory allocated by UEFI applications.
sourcepub const BootServicesCode: Self = _
pub const BootServicesCode: Self = _
Memory used for drivers that provide BootServices
.
sourcepub const BootServicesData: Self = _
pub const BootServicesData: Self = _
Memory allocated by drivers that provide BootServices
.
sourcepub const RuntimeServicesCode: Self = _
pub const RuntimeServicesCode: Self = _
Memory used for drivers that provide RuntimeServices
.
sourcepub const RuntimeServicesData: Self = _
pub const RuntimeServicesData: Self = _
Memory allocated by drivers that provide RuntimeServices
.
sourcepub const Conventional: Self = _
pub const Conventional: Self = _
Free memory.
sourcepub const ACPIReclaim: Self = _
pub const ACPIReclaim: Self = _
Memory that can be used after the OS initializes ACPI.
sourcepub const ACPINonVolatile: Self = _
pub const ACPINonVolatile: Self = _
Memory that must be preserved in ACPI states S1–S3.
sourcepub const MappedIOPortSpace: Self = _
pub const MappedIOPortSpace: Self = _
Memory mapped to I/O ports.
sourcepub const ProcessorCode: Self = _
pub const ProcessorCode: Self = _
Memory used by processor firmware code.
sourcepub const Persistent: Self = _
pub const Persistent: Self = _
Free nonvolatile memory.
sourcepub const MinOEMDefined: Self = _
pub const MinOEMDefined: Self = _
Beginning of range (inclusive) for OEM-specific memory types
sourcepub const MaxOEMDefined: Self = _
pub const MaxOEMDefined: Self = _
End of range (inclusive) for OEM-specific memory types
sourcepub const MinOSDefined: Self = _
pub const MinOSDefined: Self = _
Beginning of range (inclusive) for operating system-specific memory types
sourcepub const MaxOSDefined: Self = _
pub const MaxOSDefined: Self = _
End of range (inclusive) for operating system-specific memory types
Trait Implementations§
source§impl CEnum<u32> for MemoryType
impl CEnum<u32> for MemoryType
source§impl Clone for MemoryType
impl Clone for MemoryType
source§fn clone(&self) -> MemoryType
fn clone(&self) -> MemoryType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MemoryType
impl Debug for MemoryType
source§impl Default for MemoryType
impl Default for MemoryType
source§fn default() -> MemoryType
fn default() -> MemoryType
source§impl From<MemoryType> for u32
impl From<MemoryType> for u32
source§fn from(enum_value: MemoryType) -> Self
fn from(enum_value: MemoryType) -> Self
source§impl From<u32> for MemoryType
impl From<u32> for MemoryType
source§impl Hash for MemoryType
impl Hash for MemoryType
source§impl Ord for MemoryType
impl Ord for MemoryType
source§fn cmp(&self, other: &MemoryType) -> Ordering
fn cmp(&self, other: &MemoryType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for MemoryType
impl PartialEq for MemoryType
source§impl PartialOrd for MemoryType
impl PartialOrd for MemoryType
impl Copy for MemoryType
impl Eq for MemoryType
impl StructuralPartialEq for MemoryType
Auto Trait Implementations§
impl Freeze for MemoryType
impl RefUnwindSafe for MemoryType
impl Send for MemoryType
impl Sync for MemoryType
impl Unpin for MemoryType
impl UnwindSafe for MemoryType
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
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)
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)
clone_to_uninit
)