pub struct AllocationStat {
pub total_bytes: u64,
pub alloc_count: u64,
pub dealloc_count: u64,
pub live_bytes: u64,
}Expand description
Statistics for allocations associated with a single tag.
Fields§
§total_bytes: u64Total bytes allocated with this tag.
alloc_count: u64Number of allocation events.
dealloc_count: u64Number of deallocation events.
live_bytes: u64Bytes currently live.
Trait Implementations§
Source§impl Clone for AllocationStat
impl Clone for AllocationStat
Source§fn clone(&self) -> AllocationStat
fn clone(&self) -> AllocationStat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AllocationStat
impl Debug for AllocationStat
Source§impl Default for AllocationStat
impl Default for AllocationStat
Source§fn default() -> AllocationStat
fn default() -> AllocationStat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AllocationStat
impl RefUnwindSafe for AllocationStat
impl Send for AllocationStat
impl Sync for AllocationStat
impl Unpin for AllocationStat
impl UnsafeUnpin for AllocationStat
impl UnwindSafe for AllocationStat
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