[][src]Crate comfy_table

Modules

modifiers

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.

presets

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

Structs

Cell

A stylable table cell with content.

Column

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

Row

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

Table

A table containing rows of cells.

Enums

Attribute

Attributes used for styling cell content. Reexport of crossterm's Attributes enum. Represents an attribute.

CellAlignment

This can be set on columns and cells.

Color

Colors used for styling cell content. Reexport of crossterm's Color enum. Represents a color.

ColumnConstraint

Constraints can be added to (columns)crate::Column.
They allow some control over the dynamic content arrangement process. \

ContentArrangement

Specify how comfy_table should arrange the content in your table.

TableComponent

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.