Struct os::mm::frame_allocator::FrameTracker
source · pub struct FrameTracker {
pub ppn: PhysPageNum,
}
Expand description
tracker for physical page frame allocation and deallocation
Fields§
§ppn: PhysPageNum
physical page number
Implementations§
source§impl FrameTracker
impl FrameTracker
sourcepub fn new(ppn: PhysPageNum) -> Self
pub fn new(ppn: PhysPageNum) -> Self
Create a new FrameTracker
Trait Implementations§
source§impl Debug for FrameTracker
impl Debug for FrameTracker
Auto Trait Implementations§
impl Freeze for FrameTracker
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