Struct term_table::Table [] [src]

pub struct Table<'data> {
    pub rows: Vec<Row<'data>>,
    pub style: TableStyle,
    pub max_column_width: usize,
}

A set of rows containing data

Fields

The maxium width of each column. Defults to std::usize::max

Methods

impl<'data> Table<'data>
[src]

[src]

[src]

Simply adds a row to the rows Vec

[src]

Does all of the calculations to reformat the row based on it's current state and returns the result as a String

Trait Implementations

Auto Trait Implementations

impl<'data> Send for Table<'data>

impl<'data> Sync for Table<'data>