pub struct TrackingSummary {
pub variables_created: usize,
pub variables_dropped: usize,
pub immutable_borrows: usize,
pub mutable_borrows: usize,
pub moves: usize,
pub rc_operations: usize,
pub arc_operations: usize,
pub refcell_operations: usize,
pub cell_operations: usize,
pub unsafe_operations: usize,
}Expand description
Summary statistics for tracked events.
Fields§
§variables_created: usizeNumber of variables created
variables_dropped: usizeNumber of variables dropped
immutable_borrows: usizeNumber of immutable borrows
mutable_borrows: usizeNumber of mutable borrows
moves: usizeNumber of moves
rc_operations: usizeNumber of Rc operations
arc_operations: usizeNumber of Arc operations
refcell_operations: usizeNumber of RefCell operations
cell_operations: usizeNumber of Cell operations
unsafe_operations: usizeNumber of unsafe operations
Trait Implementations§
Source§impl Clone for TrackingSummary
impl Clone for TrackingSummary
Source§fn clone(&self) -> TrackingSummary
fn clone(&self) -> TrackingSummary
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrackingSummary
impl Debug for TrackingSummary
Source§impl Default for TrackingSummary
impl Default for TrackingSummary
Source§fn default() -> TrackingSummary
fn default() -> TrackingSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TrackingSummary
impl RefUnwindSafe for TrackingSummary
impl Send for TrackingSummary
impl Sync for TrackingSummary
impl Unpin for TrackingSummary
impl UnwindSafe for TrackingSummary
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)