Struct accounting_allocator::AllocStats 
source · [−]pub struct AllocStats {
    pub all_time: AllTimeAllocStats,
    pub since_last: IncrementalAllocStats,
}Expand description
Statistics for allocations and deallocations made with an AccountingAlloc, across all threads.
Fields
all_time: AllTimeAllocStatsAllocator statistics over all time.
since_last: IncrementalAllocStatsAllocator statistics since the last call to AccountingAlloc::count.
Trait Implementations
sourceimpl Clone for AllocStats
 
impl Clone for AllocStats
sourcefn clone(&self) -> AllocStats
 
fn clone(&self) -> AllocStats
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 AllocStats
 
impl Debug for AllocStats
sourceimpl Default for AllocStats
 
impl Default for AllocStats
sourcefn default() -> AllocStats
 
fn default() -> AllocStats
Returns the “default value” for a type. Read more
sourceimpl PartialEq<AllocStats> for AllocStats
 
impl PartialEq<AllocStats> for AllocStats
sourcefn eq(&self, other: &AllocStats) -> bool
 
fn eq(&self, other: &AllocStats) -> bool
impl Copy for AllocStats
impl Eq for AllocStats
impl StructuralEq for AllocStats
impl StructuralPartialEq for AllocStats
Auto Trait Implementations
impl RefUnwindSafe for AllocStats
impl Send for AllocStats
impl Sync for AllocStats
impl Unpin for AllocStats
impl UnwindSafe for AllocStats
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