pub struct TypedArenaStats {
pub total_allocations: u64,
pub total_deallocations: u64,
pub live_count: u64,
pub peak_count: u64,
}Expand description
Statistics for a typed arena.
Fields§
§total_allocations: u64Total allocations.
total_deallocations: u64Total deallocations.
live_count: u64Current live count.
peak_count: u64Peak live count.
Trait Implementations§
Source§impl Clone for TypedArenaStats
impl Clone for TypedArenaStats
Source§fn clone(&self) -> TypedArenaStats
fn clone(&self) -> TypedArenaStats
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 TypedArenaStats
impl Debug for TypedArenaStats
Source§impl Default for TypedArenaStats
impl Default for TypedArenaStats
Source§fn default() -> TypedArenaStats
fn default() -> TypedArenaStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TypedArenaStats
impl RefUnwindSafe for TypedArenaStats
impl Send for TypedArenaStats
impl Sync for TypedArenaStats
impl Unpin for TypedArenaStats
impl UnsafeUnpin for TypedArenaStats
impl UnwindSafe for TypedArenaStats
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