Module layout_2013::flex
source Β· Expand description
Layout for elements with a CSS display
property of flex
.
Structs§
- A block with the CSS
display
property equal toflex
. - FlexItem πRepresents a child in a flex container. Most fields here are used in flex size resolving, and items are sorted by the βorderβ property.
- FlexLine πA line in a flex container.
Enums§
- AxisSize πThe size of an axis. May be a specified size, a min/max constraint, or an unlimited size
Functions§
- from_flex_basis πThis function accepts the flex-basis and the size property in main direction from style, and the container size, then return the used value of flex basis. it can be used to help determining the flex base size and to indicate whether the main size of the item is definite after flex size resolving.