pub struct PageMapper {
pub heap_page_range: Range,
pub pages: RangeSet,
}
Expand description
Maps memory blocks of arbitrary sizes onto the heap address range.
Fields§
§heap_page_range: Range
Heap page range.
pages: RangeSet
Mapped page indices (i.e. address / 4096).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PageMapper
impl RefUnwindSafe for PageMapper
impl Send for PageMapper
impl Sync for PageMapper
impl Unpin for PageMapper
impl UnwindSafe for PageMapper
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