[−][src]Function tablefy::into_table
pub fn into_table<T: Tablefy>(data: &Vec<T>) -> Table
Function that turns a vector of Tablefy implementations into a full Table.
This Table comes from prettytable
, any function supported by that crate will also work here.
let table = into_table(servers); table.printstd(); let tablestr = format!("{}", table);