pub struct ArenaStats {
pub allocations: usize,
pub total_bytes: usize,
}Expand description
Statistics for arena usage.
Fields§
§allocations: usizeNumber of allocations.
total_bytes: usizeTotal bytes allocated.
Trait Implementations§
Source§impl Clone for ArenaStats
impl Clone for ArenaStats
Source§fn clone(&self) -> ArenaStats
fn clone(&self) -> ArenaStats
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 ArenaStats
impl Debug for ArenaStats
Source§impl Default for ArenaStats
impl Default for ArenaStats
Source§fn default() -> ArenaStats
fn default() -> ArenaStats
Returns the “default value” for a type. Read more
impl Copy for ArenaStats
Auto Trait Implementations§
impl Freeze for ArenaStats
impl RefUnwindSafe for ArenaStats
impl Send for ArenaStats
impl Sync for ArenaStats
impl Unpin for ArenaStats
impl UnwindSafe for ArenaStats
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