pub struct SlotDebugGroup {
pub index: usize,
pub anchor: AnchorId,
pub parent_anchor: AnchorId,
pub static_key: Key,
pub explicit_key: Option<Key>,
pub ordinal: u32,
pub scope_id: Option<usize>,
pub depth: u32,
pub subtree_len: u32,
pub payload_len: usize,
pub node_len: usize,
pub subtree_node_count: u32,
}Expand description
One group of a slot table as seen in a SlotDebugSnapshot.
Fields§
§index: usizePosition of the group in the table’s group order.
anchor: AnchorIdAnchor that identifies this group.
parent_anchor: AnchorIdAnchor of the parent group.
static_key: KeyKey of the call site that produced the group.
explicit_key: Option<Key>Key the caller gave the group, if any.
ordinal: u32Position of the group among earlier sibling groups with the same call site key. A keyed group has ordinal 0.
scope_id: Option<usize>Id of the recompose scope the group owns, if any.
depth: u32Nesting depth of the group; top level groups have the lowest depth.
subtree_len: u32Number of groups in the group’s subtree, including the group itself.
payload_len: usizePayload slots the group owns directly.
node_len: usizeNodes the group owns directly.
subtree_node_count: u32Nodes in the group’s subtree.
Trait Implementations§
Source§impl Clone for SlotDebugGroup
impl Clone for SlotDebugGroup
impl Copy for SlotDebugGroup
Source§impl Debug for SlotDebugGroup
impl Debug for SlotDebugGroup
impl Eq for SlotDebugGroup
Source§impl PartialEq for SlotDebugGroup
impl PartialEq for SlotDebugGroup
impl StructuralPartialEq for SlotDebugGroup
Auto Trait Implementations§
impl Freeze for SlotDebugGroup
impl RefUnwindSafe for SlotDebugGroup
impl Send for SlotDebugGroup
impl Sync for SlotDebugGroup
impl Unpin for SlotDebugGroup
impl UnsafeUnpin for SlotDebugGroup
impl UnwindSafe for SlotDebugGroup
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