[][src]Module unsegen::base::style

Types related to the visual representation (i.e., style) of text when drawn to the terminal. This includes formatting (bold, italic, ...) and colors.

Structs

Style

A style that defines how text is presented on the terminal.

StyleModifier

Defines a set of modifications on a style. Multiple modifiers can be combined before applying them to a style.

TextFormat

Specifies how text is written to the terminal. Specified attributes include "bold", "italic", "invert", and "underline" and can be combined freely.

TextFormatModifier

Specifies how to modify a text format value.

Enums

BoolModifyMode

Specifies how to modify a bool value.

Color

A color that can be displayed in terminal.