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
Input - Input for a pure layout policy.
- Layout
Output - Output collected during pure layout.
- Layout
Policy Handle - Type-erased layout policy handle consumed by
layout_primitive. - Layout
Primitive Builder - Builder returned by
layout_primitive. - Layout
Result - Cached output from pure layout.
- Noop
Render Policy - Default render policy that emits no draw commands.
- Placement
Input - Input for a placement-only pass that reuses cached child measurements.
- 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_primitive.
Traits§
- 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_
primitive - layout_primitive