Skip to main content

row

Function row 

Source
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.

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.