Struct lazytable::Table
[−]
[src]
pub struct Table<'a> { /* fields omitted */ }
Methods
impl<'a> Table<'a>
[src]
fn new(config: TableConfig<'a>) -> Table
[src]
fn with_width(width: usize) -> Table<'a>
[src]
Creates a table with a default config and width
.
fn set_title(&mut self, title: Vec<String>)
[src]
Set the title row.
fn add_row(&mut self, row: Vec<String>)
[src]
Add a row.
fn add_rows(&mut self, rows: &mut Vec<Vec<String>>)
[src]
Add multiple rows at once.