Module layout

Source
Expand description

Final data structures that represent the high-level UI layout

Structs§

CollapsibleMarginSet
A set of margins that are available for collapsing with for block layout’s margin collapsing
Layout
The final result of a layout algorithm for a single node.
LayoutInput
A struct containing the inputs constraints/hints for laying out a node, which are passed in by the parent
LayoutOutput
A struct containing the result of laying a single node, which is returned up to the parent node

Enums§

DetailedLayoutInfo
The additional information from layout algorithm
RequestedAxis
An axis that layout algorithms can be requested to compute a size for
RunMode
Whether we are performing a full layout, or we merely need to size the node
SizingMode
Whether styles should be taken into account when computing size