print_formatted_table

Function print_formatted_table 

Source
pub fn print_formatted_table(rows: &[Vec<String>])
Expand description

Prints a table with aligned columns, using the first row as a header. The first column is left-aligned; remaining columns are right-aligned. Automatically adjusts column widths and inserts a separator line.