pub struct SweepStats {
pub visited: usize,
pub visited_young: usize,
pub visited_old: usize,
pub revisit: usize,
pub freed: usize,
pub freed_bytes: usize,
}Expand description
Diagnostic counters for the latest sweep phase.
Fields§
§visited: usize§visited_young: usize§visited_old: usize§revisit: usize§freed: usize§freed_bytes: usizeTrait Implementations§
Source§impl Clone for SweepStats
impl Clone for SweepStats
Source§fn clone(&self) -> SweepStats
fn clone(&self) -> SweepStats
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 SweepStats
impl Debug for SweepStats
Source§impl Default for SweepStats
impl Default for SweepStats
Source§fn default() -> SweepStats
fn default() -> SweepStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for SweepStats
impl PartialEq for SweepStats
Source§fn eq(&self, other: &SweepStats) -> bool
fn eq(&self, other: &SweepStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SweepStats
impl Eq for SweepStats
impl StructuralPartialEq for SweepStats
Auto Trait Implementations§
impl Freeze for SweepStats
impl RefUnwindSafe for SweepStats
impl Send for SweepStats
impl Sync for SweepStats
impl Unpin for SweepStats
impl UnsafeUnpin for SweepStats
impl UnwindSafe for SweepStats
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