pub struct DynamicPageAlloc;Trait Implementations§
Source§impl PageAlloc for DynamicPageAlloc
impl PageAlloc for DynamicPageAlloc
Source§fn alloc_page(&self, size: usize) -> Result<NonNull<[u8]>, AllocError>
fn alloc_page(&self, size: usize) -> Result<NonNull<[u8]>, AllocError>
Returns a pointer aligned to at least 4KB
Auto Trait Implementations§
impl Freeze for DynamicPageAlloc
impl RefUnwindSafe for DynamicPageAlloc
impl Send for DynamicPageAlloc
impl Sync for DynamicPageAlloc
impl Unpin for DynamicPageAlloc
impl UnwindSafe for DynamicPageAlloc
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