pub struct MemoryReservation {
pub address: u64,
pub size: u64,
}Expand description
Entry in the memory reservation block.
The memory reservation block contains a list of physical memory regions that must be preserved (not used by the OS) during boot. Each entry specifies the starting address and size of a reserved region.
Fields§
§address: u64Physical address of the reserved region
size: u64Size of the reserved region in bytes
Trait Implementations§
Source§impl Clone for MemoryReservation
impl Clone for MemoryReservation
Source§fn clone(&self) -> MemoryReservation
fn clone(&self) -> MemoryReservation
Returns a duplicate 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 MemoryReservation
impl Debug for MemoryReservation
Source§impl Default for MemoryReservation
impl Default for MemoryReservation
Source§fn default() -> MemoryReservation
fn default() -> MemoryReservation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MemoryReservation
impl RefUnwindSafe for MemoryReservation
impl Send for MemoryReservation
impl Sync for MemoryReservation
impl Unpin for MemoryReservation
impl UnwindSafe for MemoryReservation
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