Struct accounting_allocator::ThreadCounter 
source · [−]pub(crate) struct ThreadCounter {
    pub(crate) alloc: AtomicUsize,
    pub(crate) dealloc: AtomicUsize,
    pub(crate) largest_alloc: AtomicUsize,
}Fields
alloc: AtomicUsizedealloc: AtomicUsizelargest_alloc: AtomicUsizeTrait Implementations
sourceimpl Debug for ThreadCounter
 
impl Debug for ThreadCounter
sourceimpl Default for ThreadCounter
 
impl Default for ThreadCounter
sourcefn default() -> ThreadCounter
 
fn default() -> ThreadCounter
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ThreadCounter
impl Send for ThreadCounter
impl Sync for ThreadCounter
impl Unpin for ThreadCounter
impl UnwindSafe for ThreadCounter
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