Struct r_efi::system::MemoryDescriptor
source · #[repr(C)]pub struct MemoryDescriptor {
pub type: u32,
pub physical_start: PhysicalAddress,
pub virtual_start: VirtualAddress,
pub number_of_pages: u64,
pub attribute: u64,
}
Fields§
§type: u32
§physical_start: PhysicalAddress
§virtual_start: VirtualAddress
§number_of_pages: u64
§attribute: u64
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 · 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 MemoryDescriptor
impl Debug for MemoryDescriptor
impl Copy 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§
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