Expand description
Layout policies and measurement.
§Usage
Measure and align content while reserving independent interaction bounds.
Structs§
- Default
Layout Node - Default layout node that stacks children at (0,0) and uses the bounding size.
- Draw
Modifier Handle - Type-erased draw modifier handle consumed by
layout. - Layout
Builder - Configuration handle returned by
layout. - Layout
Child - A direct child layout node available during a measure pass.
- Layout
Input - Input for a pure layout policy.
- Layout
Modifier Handle - Type-erased layout node 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
Draw Modifier - Default draw modifier that records the wrapped content unchanged.
- Placement
Child - A direct child available during a placement-only pass.
- Placement
Result - Child placements produced by a measure pass, relative to the node origin.
- 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.
Traits§
- Layout
Placement Target - A direct child handle that can be placed by
LayoutResult.
Functions§
- layout
- layout