Struct os::mm::frame_allocator::FrameTracker
source · [−]pub struct FrameTracker {
pub ppn: PhysPageNum,
}
Expand description
manage a frame which has the same lifecycle as the tracker
Fields
ppn: PhysPageNum
Implementations
sourceimpl FrameTracker
impl FrameTracker
pub fn new(ppn: PhysPageNum) -> Self
Trait Implementations
sourceimpl Debug for FrameTracker
impl Debug for FrameTracker
Auto Trait Implementations
impl RefUnwindSafe for FrameTracker
impl Send for FrameTracker
impl Sync for FrameTracker
impl Unpin for FrameTracker
impl UnwindSafe for FrameTracker
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more