pub struct AllocatorStats {
pub total_allocations: usize,
pub generation_usage: Vec<usize>,
pub young_generation_usage: f64,
pub total_usage: f64,
}Expand description
Statistics for the allocator
Fields§
§total_allocations: usize§generation_usage: Vec<usize>§young_generation_usage: f64§total_usage: f64Trait Implementations§
Source§impl Clone for AllocatorStats
impl Clone for AllocatorStats
Source§fn clone(&self) -> AllocatorStats
fn clone(&self) -> AllocatorStats
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 moreAuto Trait Implementations§
impl Freeze for AllocatorStats
impl RefUnwindSafe for AllocatorStats
impl Send for AllocatorStats
impl Sync for AllocatorStats
impl Unpin for AllocatorStats
impl UnwindSafe for AllocatorStats
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