Crate comfy_table[][src]

Modules

Contains modifiers, that can be used to alter certain parts of a preset.
For instance, the UTF8_ROUND_CORNERS replaces all corners with round UTF8 box corners.

This module provides styling presets for tables.
Every preset has an example preview.

Structs

A stylable table cell with content.

A simple wrapper type for a Vec<Cell>.

A representation of a table’s column. Useful for styling and specifying constraints how big a column should be.

An iterator over cells of a specific column. A dedicated struct is necessary, as data is usually handled by rows and thereby stored in Table::rows. This type is returned by Table::column_cells_iter.

Each row contains Cells and can be added to a Table.

This is the main interface for building a table. Each table consists of Rows, which in turn contain Cells.

Enums

Attributes used for styling cell content. Reexport of crossterm’s Attributes enum.

This can be set on columns and cells.

Colors used for styling cell content. Reexport of crossterm’s Color enum.

A Constraint can be added to a columns.

Specify how comfy_table should arrange the content in your table.

All configurable table components. A character can be assigned to each component via Table::set_style. This is then used to draw character of the respective component to the commandline.