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.
LayoutInput
Input for a pure layout policy.
LayoutOutput
Output collected during pure layout.
LayoutPolicyHandle
Type-erased layout policy handle consumed by layout_primitive.
LayoutPrimitiveBuilder
Builder returned by layout_primitive.
LayoutResult
Cached output from pure layout.
NoopRenderPolicy
Default render policy that emits no draw commands.
PlacementInput
Input for a placement-only pass that reuses cached child measurements.
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_primitive.

Traits§

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_primitive
layout_primitive