pub struct AllocationInfo {
pub layout: Layout,
pub backtrace: Backtrace,
pub generation: u64,
}Expand description
Metadata for each allocation made by the global allocator.
Fields§
§layout: LayoutLayout of the allocation.
backtrace: BacktraceBacktrace at the time of allocation.
generation: u64Generation at which the allocation was made.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AllocationInfo
impl RefUnwindSafe for AllocationInfo
impl Send for AllocationInfo
impl Sync for AllocationInfo
impl Unpin for AllocationInfo
impl UnsafeUnpin for AllocationInfo
impl UnwindSafe for AllocationInfo
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