print_table

Function print_table 

Source
pub fn print_table<T>(writer: &mut dyn Write, items: &[T]) -> Result<(), Error>
where T: Tabled,
Expand description

Creates, styles, and prints a table from a vector of Tabled items.

ยงErrors

Returns an I/O error if writing to the writer fails.