Macros§
Structs§
- Adoptive
Child Node - Placeholder for the dynamic child of an adoptive node.
- Adoptive
Node - Represents a node setup to dynamically swap child.
- ArcNode
- A reference counted
UiNode. - Chain
List - UI node list implementation that flattens child lists.
- Default
Panel List Data - Default
PanelListassociated data. - Editable
UiVec - Represents an
UiVecthat can be modified using a connected sender. - Editable
UiVec Ref - Represents a sender to an
EditableUiVec. - Fill
UiNode - A UI node that fills the available layout space.
- Match
Node Child - Child node of
match_node. - Match
Widget Child - Child node of
match_widget. - Offset
UiList Observer - Represents an
UiNodeListObserverthat applies an offset to all indexes. - Panel
List - Represents the final UI list in a panel layout node.
- Panel
List Data Changes - Identifies changes in
PanelListDatasince last layout. - Panel
List Range - First and last child widget in a
PanelList. - SORTING_
LIST - Represents the contextual parent
SortingListduring an update. - Sorting
List - Represents a sorted view into an
UiNode::is_list. - UiNode
- Represents an UI tree node instance.
- UiVec
- Vec of boxed UI nodes.
- Weak
Node - Weak reference to a
ArcNode. - When
UiNode Builder - Builds a node that can be one of multiple options, selected by the first condition that is
true, or a fallback default. - Widget
UiNode - Extra
UiNodemethods for nodes that define a widget instance context. - ZIndex
- Position of a widget inside an UI node list render operation.
- Z_INDEX
- Access to widget z-index in a parent
PanelList.
Enums§
- UiNode
Method - Identifies the
UiNodeUI methods. - UiNode
Op - Represents a node operation in a
match_node.
Traits§
- Into
UiNode - Represents a value that can become a
UiNodeinstance. - Panel
List Data - Represents an item’s associated data in a
PanelList. - UiNode
Impl - Represents an
UiNodeimplementation. - UiNode
List Observer - Represents an
UiNode::update_listobserver that can be used to monitor widget insertion, removal and re-order. - Widget
UiNode Impl - Represents an
UiNodeImplthat defines a widget instance scope.
Functions§
- extend_
widget - Create a widget node that wraps the
widgetwith any number of other non-widget nodes and still delegateswith_contextto thewidget. - match_
node - Creates a node that is implemented as a closure that matches over
UiNodeOpand delegates to another child node. - match_
node_ leaf - Creates a node that is implemented as a closure that matches over
UiNodeOpand does not delegate to any child node. - match_
widget - Creates a widget that is implemented as a closure that matches over
UiNodeOpand delegates to another child widget. - with_
new_ context_ init_ id - Wraps
childin a node that provides a uniqueContextInitHandle, refreshed every (re)init.