print_table

Function print_table 

Source
pub fn print_table<T>(
    writer: &mut dyn Write,
    items: Vec<T>,
    plain: bool,
) -> 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.