Skip to main content

Module layout

Module layout 

Source
Expand description

Layout policies and measurement.

Structs§

DefaultLayoutPolicy
Default layout policy that stacks children at (0,0) and uses the bounding size.
LayoutBuilder
Builder returned by layout.
LayoutChild
A direct child layout node available during a measure pass.
LayoutInput
Input for a pure layout policy.
LayoutPolicyHandle
Type-erased layout policy 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.
NoopRenderPolicy
Default render policy that emits no draw commands.
PlacementChild
A direct child available during a placement-only pass.
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.
RenderPolicyHandle
Type-erased render policy handle consumed by layout.

Traits§

LayoutPlacementTarget
A direct child handle that can be placed by LayoutResult.
LayoutPolicy
Pure layout policy for measuring and placing child nodes.
RenderPolicy
Render policy for recording draw and compute commands for the current node.

Functions§

layout
layout