Module layout_2020::flexbox::layout
source ยท Structsยง
- FinalFlexLineLayout ๐Return type of
FlexLine::layout
- FlexContext ๐Layout parameters and intermediate results about a flex container, grouped to avoid passing around many parameters
- FlexItem ๐A flex item with some intermediate results
- FlexItemLayoutResult ๐Return type of
FlexItem::layout
Enumsยง
- FlexContent ๐Child of a FlexContainer. Can either be absolutely positioned, or not. If not, a placeholder is used and flex content is stored outside of this enum.
Functionsยง
- Align all flex lines per
align-content
according to https://drafts.csswg.org/css-flexbox/#algo-line-align. Returns the space to add to each line or the space to add after each line. - Whether an item with an
auto
preferred cross size will stretched to fill the cross size of its flex line. https://drafts.csswg.org/css-flexbox/#stretched