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§
source§impl FrameTracker
impl FrameTracker
sourcepub fn new(ppn: PhysPageNum) -> Self
pub fn new(ppn: PhysPageNum) -> Self
Create an empty FrameTracker
Trait Implementations§
source§impl 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§
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