pub struct Mallocator;
Trait Implementations§
Source§impl GlobalAlloc for Mallocator
impl GlobalAlloc for Mallocator
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 Mallocator
impl RefUnwindSafe for Mallocator
impl Send for Mallocator
impl Sync for Mallocator
impl Unpin for Mallocator
impl UnwindSafe for Mallocator
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