pub struct SnapshotStateObserverDebugStats {
pub scopes_len: usize,
pub scopes_cap: usize,
pub stateless_scope_count: usize,
pub observed_state_count: usize,
pub observed_state_capacity: usize,
}Expand description
Sizes of a state observer’s tables, for leak and memory checks.
Fields§
§scopes_len: usizeNumber of scopes with recorded observations.
scopes_cap: usizeCapacity reserved for the scope tables.
stateless_scope_count: usizeNumber of scopes that recorded no state reads.
observed_state_count: usizeNumber of observed states, counted once for each scope that read them.
observed_state_capacity: usizeCapacity reserved for the observed states of all scopes.
Trait Implementations§
impl Copy for SnapshotStateObserverDebugStats
impl Eq for SnapshotStateObserverDebugStats
impl StructuralPartialEq for SnapshotStateObserverDebugStats
Auto Trait Implementations§
impl Freeze for SnapshotStateObserverDebugStats
impl RefUnwindSafe for SnapshotStateObserverDebugStats
impl Send for SnapshotStateObserverDebugStats
impl Sync for SnapshotStateObserverDebugStats
impl Unpin for SnapshotStateObserverDebugStats
impl UnsafeUnpin for SnapshotStateObserverDebugStats
impl UnwindSafe for SnapshotStateObserverDebugStats
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