[][src]Crate crossterm_style

A module that contains all the actions related to the styling of the terminal. Like applying attributes to font and changing the foreground and background.

Re-exports

pub use self::objectstyle::ObjectStyle;
pub use self::styledobject::DisplayableObject;
pub use self::styledobject::StyledObject;

Modules

objectstyle

This module contains the object style that can be applied to an styled object.

styledobject

This module contains the logic to style an object that contains some 'content' which can be styled.

Structs

TerminalColor

Allows you to style the terminal.

Enums

Attribute

Attributes that could be applied on some text. (Windows specific)

Color

Colors that are available for coloring the terminal font.

ColorType

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

Functions

color

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

style

This could be used to style a type who is implementing Display with colors and attributes.