[][src]Struct term_table::row::Row

pub struct Row<'data> {
    pub cells: Vec<TableCell<'data>>,
}

A set of table cells

Fields

Methods

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

Formats a row based on the provided table style

Generates the top separator for a row.

The previous seperator is used to determine junction characters

Returns a vector of split cell widths.

A split width is the cell's total width divided by it's col_span value.

Each cell's split width value is pushed into the resulting vector col_span times. Returns a vec of tuples containing the cell width and the min cell width

Number of columns in the row.

This is the sum of all cell's col_span values

Auto Trait Implementations

impl<'data> Send for Row<'data>

impl<'data> Sync for Row<'data>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]