pub struct AllocationSizeStats {
pub min: usize,
pub max: usize,
pub median: usize,
pub mean: f64,
pub total_allocations: usize,
}Expand description
Statistics about allocation sizes
Fields§
§min: usizeMinimum allocation size
max: usizeMaximum allocation size
median: usizeMedian allocation size
mean: f64Mean allocation size
total_allocations: usizeTotal number of allocations
Trait Implementations§
Source§impl Clone for AllocationSizeStats
impl Clone for AllocationSizeStats
Source§fn clone(&self) -> AllocationSizeStats
fn clone(&self) -> AllocationSizeStats
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 AllocationSizeStats
impl RefUnwindSafe for AllocationSizeStats
impl Send for AllocationSizeStats
impl Sync for AllocationSizeStats
impl Unpin for AllocationSizeStats
impl UnwindSafe for AllocationSizeStats
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