Expand description
Layout policies and measurement.
Structs§
- Default
Layout Policy - Default layout policy that stacks children at (0,0) and uses the bounding size.
- Layout
Builder - Builder returned by
layout. - Layout
Child - A direct child layout node available during a measure pass.
- Layout
Input - Input for a pure layout policy.
- Layout
Policy Handle - Type-erased layout policy handle consumed by
layout. - Layout
Result - Cached output from pure layout.
- Measure
Scope - Shared measurement helpers available during a layout pass.
- Measured
Child - A measured child returned from
LayoutChild::measure. - Noop
Render Policy - Default render policy that emits no draw commands.
- Placement
Child - A direct child available during a placement-only pass.
- Placement
Scope - Shared placement helpers available during a cached placement pass.
- Render
Input - Input for a render record pass.
- Render
Metadata Mut - Mutable render metadata available during the record pass.
- Render
Policy Handle - Type-erased render policy handle consumed by
layout.
Traits§
- Layout
Placement Target - A direct child handle that can be placed by
LayoutResult. - Layout
Policy - Pure layout policy for measuring and placing child nodes.
- Render
Policy - Render policy for recording draw and compute commands for the current node.
Functions§
- layout
- layout