pub struct GlobalSystemAllocator { /* private fields */ }Implementations§
Trait Implementations§
Source§impl GlobalAlloc for GlobalSystemAllocator
impl GlobalAlloc for GlobalSystemAllocator
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 moreimpl Send for GlobalSystemAllocator
impl Sync for GlobalSystemAllocator
Auto Trait Implementations§
impl !Freeze for GlobalSystemAllocator
impl RefUnwindSafe for GlobalSystemAllocator
impl Unpin for GlobalSystemAllocator
impl UnwindSafe for GlobalSystemAllocator
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