pub struct AllocationSlotV2 {
pub allocations: u64,
pub allocated_bytes: u64,
pub live_bytes: u64,
pub peak_live_bytes: u64,
}Expand description
Per-slot allocation counters at one instant.
Fields§
§allocations: u64§allocated_bytes: u64§live_bytes: u64§peak_live_bytes: u64Trait Implementations§
Source§impl Clone for AllocationSlotV2
impl Clone for AllocationSlotV2
Source§fn clone(&self) -> AllocationSlotV2
fn clone(&self) -> AllocationSlotV2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AllocationSlotV2
Source§impl Debug for AllocationSlotV2
impl Debug for AllocationSlotV2
Source§impl Default for AllocationSlotV2
impl Default for AllocationSlotV2
Source§fn default() -> AllocationSlotV2
fn default() -> AllocationSlotV2
Returns the “default value” for a type. Read more
impl Eq for AllocationSlotV2
Source§impl PartialEq for AllocationSlotV2
impl PartialEq for AllocationSlotV2
impl StructuralPartialEq for AllocationSlotV2
Auto Trait Implementations§
impl Freeze for AllocationSlotV2
impl RefUnwindSafe for AllocationSlotV2
impl Send for AllocationSlotV2
impl Sync for AllocationSlotV2
impl Unpin for AllocationSlotV2
impl UnsafeUnpin for AllocationSlotV2
impl UnwindSafe for AllocationSlotV2
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