Module taffy::layout

source ·
Expand description

Final and cached data structures that represent the high-level UI layout

Structs

  • Cached intermediate layout results
  • The final result of a layout algorithm for a single Node.
  • A struct containing both the size of a node and it’s first baseline in each dimension (if it has any)

Enums

  • Whether we are performing a full layout, or we merely need to size the node
  • Whether styles should be taken into account when computing size