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