Expand description
Arena-based widget tree.
WidgetTree owns every node in the UI hierarchy via a generational arena
(SlotMap<NodeId, WidgetNode>). Widgets become behavior-only; all structural
concerns (parent/child links, CSS classes, display state, layout rects) live
here, owned by the runtime.
This is the Pillar 1 foundation that Pillars 2–4 build on.
Structs§
- Widget
Node - A single node in the arena-based widget tree.
- Widget
Tree - Runtime-owned arena that holds the entire widget hierarchy.
Enums§
- Lifecycle
Event - Events emitted during tree mutations (mount / remove).
- Query
Error - Errors returned by
WidgetTree::query*methods.