pub struct MemoryDiff {
pub allocs_delta: i64,
pub bytes_delta: i64,
pub duration: Duration,
}Expand description
Difference between two memory snapshots
Fields§
§allocs_delta: i64§bytes_delta: i64§duration: DurationImplementations§
Trait Implementations§
Source§impl Clone for MemoryDiff
impl Clone for MemoryDiff
Source§fn clone(&self) -> MemoryDiff
fn clone(&self) -> MemoryDiff
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 MemoryDiff
impl RefUnwindSafe for MemoryDiff
impl Send for MemoryDiff
impl Sync for MemoryDiff
impl Unpin for MemoryDiff
impl UnwindSafe for MemoryDiff
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