pub struct SlotRetentionDebugStats {
pub retained_subtree_count: usize,
pub retained_group_count: usize,
pub retained_payload_count: usize,
pub retained_node_count: usize,
pub retained_scope_count: usize,
pub retained_anchor_count: usize,
pub retained_heap_bytes: usize,
pub retained_evictions_total: usize,
}Expand description
Counters for subtrees the composer keeps for hidden content, from the retention state. Counts are in items and sizes are in bytes.
Fields§
§retained_subtree_count: usizeSubtrees currently retained.
retained_group_count: usizeGroups inside retained subtrees.
retained_payload_count: usizePayload slots inside retained subtrees.
retained_node_count: usizeNodes inside retained subtrees.
retained_scope_count: usizeRecompose scopes inside retained subtrees.
retained_anchor_count: usizeGroup anchors held by retained subtrees.
retained_heap_bytes: usizeHeap bytes held by retained subtrees.
retained_evictions_total: usizeSubtrees dropped from retention since the composition started.
Trait Implementations§
Source§impl Clone for SlotRetentionDebugStats
impl Clone for SlotRetentionDebugStats
impl Copy for SlotRetentionDebugStats
Source§impl Debug for SlotRetentionDebugStats
impl Debug for SlotRetentionDebugStats
Source§impl Default for SlotRetentionDebugStats
impl Default for SlotRetentionDebugStats
impl Eq for SlotRetentionDebugStats
Source§impl PartialEq for SlotRetentionDebugStats
impl PartialEq for SlotRetentionDebugStats
impl StructuralPartialEq for SlotRetentionDebugStats
Auto Trait Implementations§
impl Freeze for SlotRetentionDebugStats
impl RefUnwindSafe for SlotRetentionDebugStats
impl Send for SlotRetentionDebugStats
impl Sync for SlotRetentionDebugStats
impl Unpin for SlotRetentionDebugStats
impl UnsafeUnpin for SlotRetentionDebugStats
impl UnwindSafe for SlotRetentionDebugStats
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