Expand description
Zero-Heap Flexbox & CSS-Grid-Lite UI Layout Constraint Solver (ui_layout.rs)
Re-exports the canonical zero-heap UI layout constraint solver from etalon_render::ui_canvas.
Structs§
- Computed
UiRect - Resolved screen-space rectangle and scissor clip rectangle for a layout node.
- Edges
- HudVertex
- UiLayout
Node - Single node in the zero-heap intrusive UI layout tree.
- UiLayout
Style - Layout style properties for a
UiLayoutNode(supports Flexbox + 2D CSS-Grid-lite + scissor clipping). - Zero
Heap UiLayout Tree - Zero-heap two-pass (
measure+arrange) Flexbox & 2D Grid layout solver.
Enums§
Constants§
- MAX_
UI_ LAYOUT_ NODES - Maximum layout nodes supported in a single zero-heap UI layout tree.
- MAX_
UI_ NODES - NO_
UI_ NODE
Type Aliases§
- HudComputed
UiRect - Alias to the compact HUD computed rect in
crate::hud. - HudUi
Layout Tree - Alias to the compact 256-node HUD layout tree in
crate::hud. - Margin
- Padding
- UiLayout
Tree - Type alias so callers can refer to
UiLayoutTreeorZeroHeapUiLayoutTreeinterchangeably.