Skip to main content

Module node

Module node 

Source

Structs§

LayerNodeSpec
NodeKey
Stable identity for a node among its siblings.
OverlayDismissPolicy
OverlayNodeSpec
SourceLocation
Span
TooltipDelays
UiNode
A stable declarative UI node. Script-produced nodes contain no GPUI values or lifetimes; trusted Rust Hosts may attach opaque foreground callbacks.

Enums§

ImageSourceSpec
LayerPlacement
OverlayInitialFocus
Where focus lands on each closed -> open presentation cycle of a modal or menu overlay. This is an overlay-lifecycle contract, deliberately not tied to entity mount: overlays keep their semantic subtree (and thus primitive identity) across close/reopen, so mount-time mechanisms like input autofocus fire only on the first open.
OverlayWidthPolicy
UiNodeKind
UiNodeKindTag
Stable discriminant used by retained reconciliation without exposing GPUI element types or borrowing a complete UiNodeKind payload.