Crate text_grid

source ·
Expand description

A library to create formatted plain-text tables.

See Grid (High Level API) or GridBuf (Low Level API) for details.

Macros

Creates a Cell using interpolation of runtime expressions.

Structs

Implementation of CellSource that can specify styles.
Cell`s style.
A builder used to create plain-text table from struct that implement RowSource.
A builder used to create plain-text table.
A builder used to create row of GridBuf.

Enums

Possible horizontal alignments for cell’s content.

Traits

A data structure that can be formatted into cell.
A data structure that can be formatted into row.
Used to define column information within RowSource::fmt_row.

Functions

Create Cell from Display.
Create Cell from closure that call std::write! macro.