Module resolve

Module resolve 

Source

Structs§

Cell
Represents a cell in CellGrid, to be laid out by GridLayouter.
CellGrid
A grid of cells, including the columns, rows, and cell data.
Footer
A repeatable grid footer. Stops at the last row.
Header
A repeatable grid header. Starts at the first row.
Line
Represents an explicit grid line (horizontal or vertical) specified by the user.
Repeatable
A possibly repeatable grid child (header or footer).

Enums§

Entry
A grid entry.
LinePosition
Indicates whether the line should be drawn before or after the track with its index. This is mostly only relevant when gutter is used, since, then, the position after a track is not the same as before the next non-gutter track.
ResolvableGridChild
Any grid child, which can be either a header or an item.
ResolvableGridItem
A grid item, possibly affected by automatic cell positioning. Can be either a line or a cell.

Traits§

ResolvableCell
Used for cell-like elements which are aware of their final properties in the table, and may have property overrides.

Functions§

grid_to_cellgrid
Convert a grid to a cell grid.
resolve_cellgrid
Resolves and positions all cells in the grid before creating it. Allows them to keep track of their final properties and positions and adjust their fields accordingly. Cells must implement Clone as they will be owned. Additionally, they must implement Default in order to fill positions in the grid which weren’t explicitly specified by the user with empty cells.
table_to_cellgrid
Convert a table to a cell grid.