pub fn row<'a>(
columns: &[Column<'a>],
cells: &[Cell<'a>],
style: &TableStyle,
cutoff: Priority,
) -> Row<'a>Expand description
One row’s cells, in column order, on the ground.
The ground and not the stripe, since a row does not know where it falls.
table lays the stripe over every second row; a caller assembling its
own Table takes TableStyle::stripe for those rows itself, or asks
striped.
Ordered by the columns and not by the cells, so a row cannot silently
disagree with its table about what comes where. A column with no cell gets an
empty cell, which keeps the tracks aligned; a cell naming no column is
dropped, because there is nowhere to put it. That is
makeover-webview’s cells_html rule, and it has to be the same rule or the
two renderers disagree about a row they were handed identically.