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 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. - 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§
- bind_
state - Helper for declaring state properties that are controlled by a variable.
- bind_
state_ init - Helper for declaring state properties that are controlled by a variable.
- border_
node - Creates a border node that delegates rendering to a
border_visualand manages theborder_offsetscoordinating with the other borders of the widget. - event_
state - Helper for declaring state properties that depend on a single event.
- event_
state2 - Helper for declaring state properties that depend on two other event states.
- event_
state3 - Helper for declaring state properties that depend on three other event states.
- event_
state4 - Helper for declaring state properties that depend on four other event states.
- extend_
widget - Create a widget node that wraps the
widgetwith any number of other non-widget nodes and still delegateswith_contextto thewidget. - fill_
node - Transforms and clips the
contentnode according with the default widget border align behavior. - interactive_
node - Create a node that controls interaction for all widgets inside
node. - list_
presenter - Node list that presents
listusingitem_fnfor each new list item. - list_
presenter_ from_ iter - Node list that presents
listusingitem_fnfor each list item. - 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. - presenter
- Node that presents
datausingwgt_fn. - presenter_
opt - Node that presents
datausingwgt_fnif data is available, otherwise presents nil. - widget_
state_ get_ state - Helper for declaring state getter properties that are controlled by values in the widget state map.
- widget_
state_ is_ state - Helper for declaring state properties that are controlled by values in the widget state map.
- with_
context_ blend - Helper for declaring widgets that are recontextualized to take in some of the context of an original parent.
- with_
context_ local - Helper for declaring nodes that sets a context local value.
- with_
context_ local_ init - Helper for declaring nodes that sets a context local value generated on init.
- with_
context_ var - Helper for declaring properties that sets a context var.
- with_
context_ var_ init - Helper for declaring properties that sets a context var to a value generated on init.
- with_
index_ len_ node - Helper for a property that gets the index of the widget in the parent panel and the number of children.
- with_
index_ node - Helper for a property that gets the index of the widget in the parent panel.
- with_
rev_ index_ node - Helper for a property that gets the reverse index of the widget in the parent panel.
- with_
widget_ state - Helper for declaring properties that set the widget state.
- with_
widget_ state_ modify - Helper for declaring properties that set the widget state with a custom closure.