pub struct SizeClass {
pub min_bytes: u64,
pub max_bytes: u64,
pub allocs: u64,
pub live_blocks: u64,
}Expand description
One size class as read at a moment.
Fields§
§min_bytes: u64Smallest allocation size in this class, in bytes.
max_bytes: u64Inclusive. u64::MAX in the catch-all top class.
allocs: u64Allocations of this size made since process start.
live_blocks: u64Blocks of this size allocated and not yet freed.
Trait Implementations§
impl Copy for SizeClass
impl Eq for SizeClass
impl StructuralPartialEq for SizeClass
Auto Trait Implementations§
impl Freeze for SizeClass
impl RefUnwindSafe for SizeClass
impl Send for SizeClass
impl Sync for SizeClass
impl Unpin for SizeClass
impl UnsafeUnpin for SizeClass
impl UnwindSafe for SizeClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.