pub struct MemoryReservation {
pub address: u64,
pub size: u64,
}
Expand description
Indicates an area of memory that the kernel does not have full control over: e.g., ROMs, firmware.
Fields§
§address: u64
Start address of the reserved memory
size: u64
Size of the reserved memory in bytes
Trait Implementations§
Source§impl Clone for MemoryReservation
impl Clone for MemoryReservation
Source§fn clone(&self) -> MemoryReservation
fn clone(&self) -> MemoryReservation
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 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
Source§impl PartialEq for MemoryReservation
impl PartialEq for MemoryReservation
impl Copy for MemoryReservation
impl Eq for MemoryReservation
impl StructuralPartialEq for MemoryReservation
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