[][src]Function tabout::tabulate_output

pub fn tabulate_output<S: ToString, W: Write>(
    columns: &[Column],
    rows: &[Vec<S>],
    output: &mut W
) -> Result<(), Error>

Given a set of column headers and the row content, automatically compute the column widths and then format the data to the output stream. If a given row has more columns than are defined in the columns slice, then a left aligned column with no label will be assumed.