Skip to main content

TableRow

Trait TableRow 

Source
pub trait TableRow {
    // Required method
    fn write_cells(&self, cells: &mut TableRowCells);
}
Expand description

Canonically formats one typed value as a table row.

Derive this trait with the TableRow derive macro for the ordinary case. Non-skipped fields are formatted through fmt::Display in declaration order. Headers remain explicit Table data.

Required Methods§

Source

fn write_cells(&self, cells: &mut TableRowCells)

Writes this row’s cells in column order.

Implementors§