pub struct TracingAllocator<H: 'static, A>(A, H)
where
A: GlobalAlloc;Tuple Fields§
§0: A§1: HImplementations§
Source§impl<H, A> TracingAllocator<H, A>where
A: GlobalAlloc,
impl<H, A> TracingAllocator<H, A>where
A: GlobalAlloc,
Trait Implementations§
Source§impl<H: Debug + 'static, A> Debug for TracingAllocator<H, A>where
A: GlobalAlloc + Debug,
impl<H: Debug + 'static, A> Debug for TracingAllocator<H, A>where
A: GlobalAlloc + Debug,
Source§impl<H: Default + 'static, A> Default for TracingAllocator<H, A>where
A: GlobalAlloc + Default,
impl<H: Default + 'static, A> Default for TracingAllocator<H, A>where
A: GlobalAlloc + Default,
Source§fn default() -> TracingAllocator<H, A>
fn default() -> TracingAllocator<H, A>
Returns the “default value” for a type. Read more
Source§impl<H, A> GlobalAlloc for TracingAllocator<H, A>where
A: GlobalAlloc,
H: AllocHooks,
impl<H, A> GlobalAlloc for TracingAllocator<H, A>where
A: GlobalAlloc,
H: AllocHooks,
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<H, A> Freeze for TracingAllocator<H, A>
impl<H, A> RefUnwindSafe for TracingAllocator<H, A>where
A: RefUnwindSafe,
H: RefUnwindSafe,
impl<H, A> Send for TracingAllocator<H, A>
impl<H, A> Sync for TracingAllocator<H, A>
impl<H, A> Unpin for TracingAllocator<H, A>
impl<H, A> UnwindSafe for TracingAllocator<H, A>where
A: UnwindSafe,
H: 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