[][src]Module cli_table::format

Utilities for formatting of a Table

Structs

Border

Borders of a Table

BorderBuilder

Builder for Border

CellFormat

Struct for configuring a Cell's format

CellFormatBuilder

Builder for CellFormat

HorizontalLine

A horizontal line in a Table (border or row separator)

Separator

Inner (column/row) separators of a Table

SeparatorBuilder

Builder for Separator

TableFormat

Struct for configuring a Table's format

VerticalLine

A vertical line in a Table (border or column separator)

Enums

Align

Used to vertically align contents of a Cell

Color

The set of available colors for the terminal foreground/background.

Justify

Used to horizontally justify contents of a Cell

Constants

BORDER_COLUMN_NO_ROW

Format with borders and column separators (without row separators)

BORDER_COLUMN_ROW

Format with borders, column separators and row separators (calling Default::default() on TableFormat also returns this format)

BORDER_COLUMN_TITLE

Format with borders, column separators and title separator (without row separators)

BORDER_NO_COLUMN_ROW

Format with borders and row separators (without column separators)

NO_BORDER_COLUMN_ROW

Format with no borders, column separators and row separators

NO_BORDER_COLUMN_TITLE

Format with no borders, column separators and title separator (without row separators)