Skip to main content

Module layout

Module layout 

Source
Expand description

Layout policies and measurement.

§Usage

Measure and align content while reserving independent interaction bounds.

Structs§

DefaultLayoutNode
Default layout node that stacks children at (0,0) and uses the bounding size.
DrawModifierHandle
Type-erased draw modifier handle consumed by layout.
LayoutBuilder
Configuration handle returned by layout.
LayoutChild
A direct child layout node available during a measure pass.
LayoutInput
Input for a pure layout policy.
LayoutModifierHandle
Type-erased layout node handle consumed by layout.
LayoutResult
Cached output from pure layout.
MeasureScope
Shared measurement helpers available during a layout pass.
MeasuredChild
A measured child returned from LayoutChild::measure.
NoopDrawModifier
Default draw modifier that records the wrapped content unchanged.
PlacementChild
A direct child available during a placement-only pass.
PlacementResult
Child placements produced by a measure pass, relative to the node origin.
PlacementScope
Shared placement helpers available during a cached placement pass.
RenderInput
Input for a render record pass.
RenderMetadataMut
Mutable render metadata available during the record pass.

Traits§

LayoutPlacementTarget
A direct child handle that can be placed by LayoutResult.

Functions§

layout
layout