pub struct AllocationHotspot {
pub location: HotspotLocation,
pub allocation_count: usize,
pub total_bytes: usize,
pub average_size: f64,
pub frequency: f64,
}Expand description
Allocation hotspot information.
Fields§
§location: HotspotLocationLocation information.
allocation_count: usizeNumber of allocations.
total_bytes: usizeTotal bytes allocated.
average_size: f64Average allocation size.
frequency: f64Frequency of occurrence.
Trait Implementations§
Source§impl Clone for AllocationHotspot
impl Clone for AllocationHotspot
Source§fn clone(&self) -> AllocationHotspot
fn clone(&self) -> AllocationHotspot
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 moreSource§impl Debug for AllocationHotspot
impl Debug for AllocationHotspot
Auto Trait Implementations§
impl Freeze for AllocationHotspot
impl RefUnwindSafe for AllocationHotspot
impl Send for AllocationHotspot
impl Sync for AllocationHotspot
impl Unpin for AllocationHotspot
impl UnsafeUnpin for AllocationHotspot
impl UnwindSafe for AllocationHotspot
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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