Module crossterm::style[][src]

This module is used for styling the terminal text. Under styling we can think of coloring the font and applying attributes to it.

Structs

ObjectStyle

Struct that contains the style properties that can be applied to an displayable object.

StyledObject

Struct that contains both the style and the content wits can be styled.

TerminalColor

Struct that stores an specific platform implementation for color related actions.

Enums

Attribute
Color

Colors that are available for coloring the termainal font.

ColorType

Color types that can be used to determine if the Color enum is an Fore- or Background Color

Functions

color

Get an TerminalColor implementation whereon color related actions can be performed.

paint

Wraps an displayable object so it can be formatted with colors and attributes.