pub struct KAllocator { /* private fields */ }
Implementations§
Source§impl KAllocator
impl KAllocator
Trait Implementations§
Source§impl GlobalAlloc for KAllocator
impl GlobalAlloc for KAllocator
Source§unsafe fn alloc(&self, layout: Layout) -> *mut u8
unsafe fn alloc(&self, layout: Layout) -> *mut u8
Allocates memory as described by the given
layout
. Read moreAuto Trait Implementations§
impl !Freeze for KAllocator
impl !RefUnwindSafe for KAllocator
impl Send for KAllocator
impl Sync for KAllocator
impl Unpin for KAllocator
impl UnwindSafe for KAllocator
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