pub struct IncrementalAllocStats {
    pub alloc: usize,
    pub dealloc: usize,
    pub largest_alloc: usize,
}Expand description
Statistics for allocations and deallocations made with an AccountingAlloc since the last call to
AccountingAlloc::count, across all threads.
Fields
alloc: usizeCount of allocated bytes.
dealloc: usizeCount of deallocated bytes.
largest_alloc: usizeLargest allocation size in bytes.
Trait Implementations
sourceimpl Clone for IncrementalAllocStats
 
impl Clone for IncrementalAllocStats
sourcefn clone(&self) -> IncrementalAllocStats
 
fn clone(&self) -> IncrementalAllocStats
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresourceimpl Debug for IncrementalAllocStats
 
impl Debug for IncrementalAllocStats
sourceimpl Default for IncrementalAllocStats
 
impl Default for IncrementalAllocStats
sourcefn default() -> IncrementalAllocStats
 
fn default() -> IncrementalAllocStats
Returns the “default value” for a type. Read more
sourceimpl PartialEq<IncrementalAllocStats> for IncrementalAllocStats
 
impl PartialEq<IncrementalAllocStats> for IncrementalAllocStats
sourcefn eq(&self, other: &IncrementalAllocStats) -> bool
 
fn eq(&self, other: &IncrementalAllocStats) -> bool
impl Copy for IncrementalAllocStats
impl Eq for IncrementalAllocStats
impl StructuralEq for IncrementalAllocStats
impl StructuralPartialEq for IncrementalAllocStats
Auto Trait Implementations
impl RefUnwindSafe for IncrementalAllocStats
impl Send for IncrementalAllocStats
impl Sync for IncrementalAllocStats
impl Unpin for IncrementalAllocStats
impl UnwindSafe for IncrementalAllocStats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more