pub struct PhysRange {
pub base: usize,
pub len: usize,
}Expand description
A physically-contiguous, base-frame-aligned range of usable RAM.
Fields§
§base: usizePhysical base address. Must be aligned to the allocator’s base frame size.
len: usizeLength in bytes. Must be a non-zero multiple of the base frame size.
Trait Implementations§
impl Copy for PhysRange
impl Eq for PhysRange
impl StructuralPartialEq for PhysRange
Auto Trait Implementations§
impl Freeze for PhysRange
impl RefUnwindSafe for PhysRange
impl Send for PhysRange
impl Sync for PhysRange
impl Unpin for PhysRange
impl UnsafeUnpin for PhysRange
impl UnwindSafe for PhysRange
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