pub struct HeapSnapshot {
pub object_count: usize,
pub tracked_bytes: usize,
pub by_value_kind: ValueKindCounts,
}Fields§
§object_count: usize§tracked_bytes: usize§by_value_kind: ValueKindCountsTrait Implementations§
Source§impl Clone for HeapSnapshot
impl Clone for HeapSnapshot
Source§fn clone(&self) -> HeapSnapshot
fn clone(&self) -> HeapSnapshot
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 moreSource§impl Debug for HeapSnapshot
impl Debug for HeapSnapshot
impl Eq for HeapSnapshot
Source§impl PartialEq for HeapSnapshot
impl PartialEq for HeapSnapshot
Source§impl Serialize for HeapSnapshot
impl Serialize for HeapSnapshot
impl StructuralPartialEq for HeapSnapshot
Auto Trait Implementations§
impl Freeze for HeapSnapshot
impl RefUnwindSafe for HeapSnapshot
impl Send for HeapSnapshot
impl Sync for HeapSnapshot
impl Unpin for HeapSnapshot
impl UnsafeUnpin for HeapSnapshot
impl UnwindSafe for HeapSnapshot
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