Struct os_bootinfo::FrameRange [−][src]
#[repr(C)]pub struct FrameRange { pub start_frame_number: u64, pub end_frame_number: u64, }
Fields
start_frame_number: u64
end_frame_number: u64
Methods
impl FrameRange
[src]
impl FrameRange
pub fn new(start_addr: u64, end_addr: u64) -> Self
[src]
pub fn new(start_addr: u64, end_addr: u64) -> Self
Create a new FrameRange from the passed start_addr and end_addr.
The end_addr is exclusive.
pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
pub fn start_addr(&self) -> u64
[src]
pub fn start_addr(&self) -> u64
pub fn end_addr(&self) -> u64
[src]
pub fn end_addr(&self) -> u64
Trait Implementations
impl Clone for FrameRange
[src]
impl Clone for FrameRange
fn clone(&self) -> FrameRange
[src]
fn clone(&self) -> FrameRange
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 FrameRange
[src]
impl Copy for FrameRange
impl PartialEq for FrameRange
[src]
impl PartialEq for FrameRange
fn eq(&self, other: &FrameRange) -> bool
[src]
fn eq(&self, other: &FrameRange) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FrameRange) -> bool
[src]
fn ne(&self, other: &FrameRange) -> bool
This method tests for !=
.
impl Eq for FrameRange
[src]
impl Eq for FrameRange
impl Debug for FrameRange
[src]
impl Debug for FrameRange
Auto Trait Implementations
impl Send for FrameRange
impl Send for FrameRange
impl Sync for FrameRange
impl Sync for FrameRange