Struct os_bootinfo::MemoryRegion
[−]
[src]
#[repr(C)]pub struct MemoryRegion { pub range: PhysFrameRange, pub region_type: MemoryRegionType, }
Fields
range: PhysFrameRange
region_type: MemoryRegionType
Methods
impl MemoryRegion
[src]
Trait Implementations
impl Debug for MemoryRegion
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for MemoryRegion
[src]
fn clone(&self) -> MemoryRegion
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for MemoryRegion
[src]
impl PartialEq for MemoryRegion
[src]
fn eq(&self, __arg_0: &MemoryRegion) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MemoryRegion) -> bool
[src]
This method tests for !=
.
impl Eq for MemoryRegion
[src]
impl From<E820MemoryRegion> for MemoryRegion
[src]
fn from(region: E820MemoryRegion) -> MemoryRegion
[src]
Performs the conversion.