pub struct KernelAllocator;Trait Implementations§
Source§impl Clone for KernelAllocator
impl Clone for KernelAllocator
Source§fn clone(&self) -> KernelAllocator
fn clone(&self) -> KernelAllocator
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl FrameAllocator for KernelAllocator
impl FrameAllocator for KernelAllocator
fn alloc_frame(&self) -> Option<PhysAddr>
fn dealloc_frame(&self, frame: PhysAddr)
fn phys_to_virt(&self, paddr: PhysAddr) -> *mut u8
impl Copy for KernelAllocator
Auto Trait Implementations§
impl Freeze for KernelAllocator
impl RefUnwindSafe for KernelAllocator
impl Send for KernelAllocator
impl Sync for KernelAllocator
impl Unpin for KernelAllocator
impl UnwindSafe for KernelAllocator
Blanket Implementations§
Source§impl<T> Background for T
impl<T> Background for T
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