Struct bootloader::bootinfo::FrameRange
source · #[repr(C)]pub struct FrameRange {
pub start_frame_number: u64,
pub end_frame_number: u64,
}
Expand description
A range of frames with an exclusive upper bound.
Fields§
§start_frame_number: u64
The frame number of the first 4KiB frame in the region.
This convert this frame number to a physical address, multiply it with the page size (4KiB).
end_frame_number: u64
The frame number of the first 4KiB frame that does no longer belong to the region.
This convert this frame number to a physical address, multiply it with the page size (4KiB).
Implementations§
source§impl FrameRange
impl FrameRange
Trait Implementations§
source§impl Clone for FrameRange
impl Clone for FrameRange
source§fn clone(&self) -> FrameRange
fn clone(&self) -> FrameRange
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 FrameRange
impl Debug for FrameRange
source§impl PartialEq for FrameRange
impl PartialEq for FrameRange
source§fn eq(&self, other: &FrameRange) -> bool
fn eq(&self, other: &FrameRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FrameRange
impl Eq for FrameRange
impl StructuralPartialEq for FrameRange
Auto Trait Implementations§
impl Freeze for FrameRange
impl RefUnwindSafe for FrameRange
impl Send for FrameRange
impl Sync for FrameRange
impl Unpin for FrameRange
impl UnwindSafe for FrameRange
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