Expand description
1-D flex solve for the view! macro (moved from the old framework module::layout).
Pure: a parent Rect plus child specs, nothing else. Free space on the
main axis (after padding and gaps) is given to children in proportion to
their flex weights. A negative free space does not shrink basis
(children may overflow; that is the caller’s layout).
Structs§
- Flex
Child - One child of a flex solve.
Enums§
- FlexDir
- Main axis of a flex solve.
Functions§
- flex_
solve - Solve a 1-D flex layout. One
Rectper child, declaration order.