Skip to main content

Module layout

Module layout 

Source

Modules§

coordinator
Node coordinator system mirroring Jetpack Compose’s NodeCoordinator pattern.
core
policies

Structs§

LayoutBox
Layout information for a single node.
LayoutMeasurements
Result of running the measure pass for a Compose layout tree.
LayoutNodeData
Snapshot of the data required to render a layout node.
LayoutTree
Result of running layout for a Compose tree.
SemanticsCallback
Discrete event callback reference produced during semantics extraction.
SemanticsNode
A single node within the semantics tree.
SemanticsOwner
Caches semantics configurations for layout nodes, similar to Jetpack Compose’s SemanticsOwner. This enables lazy semantics tree construction and efficient invalidation.
SemanticsTree
Rooted semantics tree extracted after layout.

Enums§

LayoutNodeKind
Classification of the node captured inside a LayoutBox.
SemanticsAction
Semantics action exposed to the input system.
SemanticsRole
Semantic role describing how a node should participate in accessibility and hit testing. Roles are now derived from SemanticsConfiguration rather than widget types.

Traits§

LayoutEngine
Extension trait that equips MemoryApplier with layout computation.

Functions§

measure_layout
Runs the measure phase for the subtree rooted at root.
tree_needs_layout
Check if a node or any of its descendants needs measure (selective measure optimization). This can be used by the app shell to skip layout when the tree is clean.