pub trait Cells {
// 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, CellsSchema
must be used. See cells_schema
for details.
Required Methods§
Sourcefn fmt(f: &mut CellsFormatter<'_, '_, Self>)
fn fmt(f: &mut CellsFormatter<'_, '_, Self>)
Define columns. see CellsFormatter
for details.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.