pub struct ArenaStats {
pub bytes_used: AtomicCounter,
pub bytes_allocated: AtomicCounter,
pub allocation_count: AtomicCounter,
pub chunk_count: usize,
}Fields§
§bytes_used: AtomicCounter§bytes_allocated: AtomicCounter§allocation_count: AtomicCounter§chunk_count: usizeImplementations§
Source§impl ArenaStats
impl ArenaStats
pub fn new() -> Self
pub fn bytes_used(&self) -> usize
pub fn allocation_count(&self) -> usize
Trait Implementations§
Source§impl Debug for ArenaStats
impl Debug 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