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>. Needed to support super generic functions.
Check the trait implementations for more docs.
A representation of a table’s column. Useful for styling and specifying constraints how big a column should be.
This is an iterator over all cells of a specific column.
A dedicated struct is necessary, since data is usually handled by rows and thereby stored in
Table::rows. That’s why this iterator also has to be implemented on the Table struct.
Enums
Attributes used for styling cell content. Reexport of crossterm’s Attributes enum.
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.