[−][src]Crate comfy_table
Modules
| modifiers | Contains modifiers, that can be used to alter certain parts of a preset. |
| 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 | |
| Table | This is the main interface for building a table. Each table consists of Rows, which in turn contain Cells. |
Enums
| Attribute | Attributes used for styling cell content. Reexport of crossterm's Attributes enum. |
| CellAlignment | |
| Color | Colors used for styling cell content. Reexport of crossterm's Color enum. |
| ColumnConstraint | Constraints can be added to columns. |
| 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. |
Traits
| ToCell | Allow the conversion of a type to a cells. By default this is implemented for all types implementing ToString. |
| ToCells | Allow the conversion of a type to a vector of cells.
By default this is implemented for all types implementing
IntoIterator where the iterated Item type implements ToString.
E.g. a Vec |
| ToRow | Allow the conversion of a type to a row. By default this is implemented for everything implementing ToCells. This means every iterable implementing ToString. |