Trait text_grid::CellsSource
source · pub trait CellsSource {
// Required method
fn fmt(f: &mut CellsFormatter<'_, &Self>);
}Expand description
A data structure that can be formatted into cells.
The number of columns must be statically determined from the type.
If the number of columns is dynamically determined, GridSchema must be used. See grid_schema for details.
Required Methods§
sourcefn fmt(f: &mut CellsFormatter<'_, &Self>)
fn fmt(f: &mut CellsFormatter<'_, &Self>)
Define columns. see CellsFormatter for details.