Struct os::mm::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
sourcepub fn new(ppn: PhysPageNum) -> Self
pub fn new(ppn: PhysPageNum) -> Self
Create an empty FrameTracker
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more