pub struct StatSizeAllocator<T> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<T: GlobalAlloc> GlobalAlloc for StatSizeAllocator<T>
impl<T: GlobalAlloc> GlobalAlloc for StatSizeAllocator<T>
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<T> !Freeze for StatSizeAllocator<T>
impl<T> RefUnwindSafe for StatSizeAllocator<T>where
T: RefUnwindSafe,
impl<T> Send for StatSizeAllocator<T>where
T: Send,
impl<T> Sync for StatSizeAllocator<T>where
T: Sync,
impl<T> Unpin for StatSizeAllocator<T>where
T: Unpin,
impl<T> UnwindSafe for StatSizeAllocator<T>where
T: UnwindSafe,
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