taffy::compute::grid

Module types

Source
Expand description

Structs and enums that are used within the grid module

Modules§

  • Contains CellOccupancyMatrix used to track occupied cells during grid placement
  • Taffy uses two coordinate systems to refer to grid lines (the gaps/gutters between rows/columns):
  • grid_item 🔒
    Contains GridItem used to represent a single grid item during layout
  • grid_track 🔒
    Contains GridTrack used to represent a single grid track (row/column) during layout
  • Contains TrackCounts used to keep track of the number of tracks in the explicit and implicit grids. Also contains coordinate conversion functions which depend on those counts