pub struct AllocatorStats {
pub total_allocations: u64,
pub total_frees: u64,
pub bytes_allocated: u64,
pub bytes_freed: u64,
pub current_usage: u64,
pub peak_usage: u64,
pub allocation_failures: u64,
}Fields§
§total_allocations: u64§total_frees: u64§bytes_allocated: u64§bytes_freed: u64§current_usage: u64§peak_usage: u64§allocation_failures: u64Trait Implementations§
Source§impl Clone for AllocatorStats
impl Clone for AllocatorStats
Source§impl Debug for AllocatorStats
impl Debug for AllocatorStats
Auto Trait Implementations§
impl Freeze for AllocatorStats
impl RefUnwindSafe for AllocatorStats
impl Send for AllocatorStats
impl Sync for AllocatorStats
impl Unpin for AllocatorStats
impl UnsafeUnpin for AllocatorStats
impl UnwindSafe for AllocatorStats
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