pub struct PageAllocator { /* private fields */ }Implementations§
Source§impl PageAllocator
impl PageAllocator
pub fn new(device_info: &DeviceInfo) -> Self
pub fn allocate(&mut self) -> PageId
pub fn page_size(&self) -> u32
pub fn medium_type(&self) -> MediumType
Auto Trait Implementations§
impl Freeze for PageAllocator
impl RefUnwindSafe for PageAllocator
impl Send for PageAllocator
impl Sync for PageAllocator
impl Unpin for PageAllocator
impl UnsafeUnpin for PageAllocator
impl UnwindSafe for PageAllocator
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