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

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

A set of table cells

Fields

Methods

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

[src]

[src]

Formats a row based on the provided table style

[src]

Generates the top separator for a row.

The previous seperator is used to determine junction characters

[src]

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.

[src]

Number of columns in the row.

This is the sum of all cell's col_span values

Trait Implementations

Auto Trait Implementations

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

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