Crate text_tables [−] [src]
A small library for pretty-printing tables in monospace text.
Example
let data = [["Some", "printable"], ["data", "fields"]]; let mut out = Vec::new(); text_table::render(&mut out, data).unwrap(); println!("{}", ::std::str::from_utf8(&out).unwrap());
Functions
render |
Render the table to a writer |