pub struct WeakRegistryStats {
pub tracked: usize,
pub snapshot_live: usize,
pub snapshot_dead: usize,
pub retained: usize,
pub weak_values: usize,
pub ephemeron: usize,
pub all_weak: usize,
}Fields§
§tracked: usize§snapshot_live: usize§snapshot_dead: usize§retained: usize§weak_values: usize§ephemeron: usize§all_weak: usizeTrait Implementations§
Source§impl Clone for WeakRegistryStats
impl Clone for WeakRegistryStats
Source§fn clone(&self) -> WeakRegistryStats
fn clone(&self) -> WeakRegistryStats
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 moreimpl Copy for WeakRegistryStats
Source§impl Debug for WeakRegistryStats
impl Debug for WeakRegistryStats
Source§impl Default for WeakRegistryStats
impl Default for WeakRegistryStats
Source§fn default() -> WeakRegistryStats
fn default() -> WeakRegistryStats
Returns the “default value” for a type. Read more
impl Eq for WeakRegistryStats
Source§impl PartialEq for WeakRegistryStats
impl PartialEq for WeakRegistryStats
Source§fn eq(&self, other: &WeakRegistryStats) -> bool
fn eq(&self, other: &WeakRegistryStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WeakRegistryStats
Auto Trait Implementations§
impl Freeze for WeakRegistryStats
impl RefUnwindSafe for WeakRegistryStats
impl Send for WeakRegistryStats
impl Sync for WeakRegistryStats
impl Unpin for WeakRegistryStats
impl UnsafeUnpin for WeakRegistryStats
impl UnwindSafe for WeakRegistryStats
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