pub struct CategoryReport {
pub category: String,
pub current: usize,
pub peak: usize,
pub total_alloc: u64,
pub total_free: u64,
pub alloc_count: u64,
pub free_count: u64,
}Expand description
Detailed per-category memory statistics.
Fields§
§category: String§current: usize§peak: usize§total_alloc: u64§total_free: u64§alloc_count: u64§free_count: u64Trait Implementations§
Source§impl Clone for CategoryReport
impl Clone for CategoryReport
Source§fn clone(&self) -> CategoryReport
fn clone(&self) -> CategoryReport
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 CategoryReport
impl RefUnwindSafe for CategoryReport
impl Send for CategoryReport
impl Sync for CategoryReport
impl Unpin for CategoryReport
impl UnsafeUnpin for CategoryReport
impl UnwindSafe for CategoryReport
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