pub struct Stats {
pub chunks: u32,
pub chunk_utilization: f32,
pub allocations: u32,
pub deallocations: u32,
pub reallocations: u32,
pub in_place_reallocations: u32,
pub reallocated_bytes: usize,
pub allocated_bytes: usize,
pub reserved_bytes: usize,
}
Fields§
§chunks: u32
§chunk_utilization: f32
§allocations: u32
§deallocations: u32
§reallocations: u32
§in_place_reallocations: u32
§reallocated_bytes: usize
§allocated_bytes: usize
§reserved_bytes: usize
Trait Implementations§
impl Copy for Stats
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more