Struct multiboot2::EFIMemoryDesc
source · #[repr(C)]pub struct EFIMemoryDesc {
pub ty: MemoryType,
pub phys_start: u64,
pub virt_start: u64,
pub page_count: u64,
pub att: MemoryAttribute,
}
Expand description
A structure describing a region of memory.
Fields§
§ty: MemoryType
Type of memory occupying this range.
phys_start: u64
Starting physical address.
virt_start: u64
Starting virtual address.
page_count: u64
Number of 4 KiB pages contained in this range.
att: MemoryAttribute
The capability attributes of this memory range.
Implementations§
Trait Implementations§
source§impl Clone for MemoryDescriptor
impl Clone for MemoryDescriptor
source§fn clone(&self) -> MemoryDescriptor
fn clone(&self) -> MemoryDescriptor
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MemoryDescriptor
impl Debug for MemoryDescriptor
source§impl Default for MemoryDescriptor
impl Default for MemoryDescriptor
source§fn default() -> MemoryDescriptor
fn default() -> MemoryDescriptor
Returns the “default value” for a type. Read more
source§impl Hash for MemoryDescriptor
impl Hash for MemoryDescriptor
source§impl Ord for MemoryDescriptor
impl Ord for MemoryDescriptor
source§impl PartialEq for MemoryDescriptor
impl PartialEq for MemoryDescriptor
source§fn eq(&self, other: &MemoryDescriptor) -> bool
fn eq(&self, other: &MemoryDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MemoryDescriptor
impl PartialOrd for MemoryDescriptor
impl Copy for MemoryDescriptor
impl Eq for MemoryDescriptor
impl StructuralPartialEq for MemoryDescriptor
Auto Trait Implementations§
impl Freeze for MemoryDescriptor
impl RefUnwindSafe for MemoryDescriptor
impl Send for MemoryDescriptor
impl Sync for MemoryDescriptor
impl Unpin for MemoryDescriptor
impl UnwindSafe for MemoryDescriptor
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more