Struct tablestream::Column[][src]

pub struct Column<T> { /* fields omitted */ }
Expand description

Configure how we want to display a single column.

Implementations

Create a new Column with a Fn that knows how to extract one column of data from T.

Set a column header.

Note: This will increase the min_width of your column to the size of the header.

Set the minimum width of the column. (Default: 1)

Note that setting widths of columns larger than the Stream.max_width will cause the stream to expand its max_width to accomodate them.

Align left. (This is the default.)

Align right.

Center-align.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.