pub struct SweepStats {
pub bytes_collected: usize,
pub objects_collected: usize,
pub bytes_retained: usize,
}Expand description
Statistics from a sweep phase.
Fields§
§bytes_collected: usizeBytes reclaimed from dead objects.
objects_collected: usizeNumber of dead objects reclaimed.
bytes_retained: usizeBytes retained by live objects.
Trait 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 · 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
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