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