Struct bootloader::bootinfo::MemoryRegion
source · #[repr(C)]pub struct MemoryRegion {
pub range: FrameRange,
pub region_type: MemoryRegionType,
}
Expand description
Represents a region of physical memory.
Fields§
§range: FrameRange
The range of frames that belong to the region.
region_type: MemoryRegionType
The type of the region.
Trait Implementations§
source§impl Clone for MemoryRegion
impl Clone for MemoryRegion
source§fn clone(&self) -> MemoryRegion
fn clone(&self) -> MemoryRegion
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 MemoryRegion
impl Debug for MemoryRegion
source§impl PartialEq for MemoryRegion
impl PartialEq for MemoryRegion
source§fn eq(&self, other: &MemoryRegion) -> bool
fn eq(&self, other: &MemoryRegion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MemoryRegion
impl Eq for MemoryRegion
impl StructuralPartialEq for MemoryRegion
Auto Trait Implementations§
impl Freeze for MemoryRegion
impl RefUnwindSafe for MemoryRegion
impl Send for MemoryRegion
impl Sync for MemoryRegion
impl Unpin for MemoryRegion
impl UnwindSafe for MemoryRegion
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