[][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::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

These are all the attributes which could be apply to font. There are few things to note

Color

Colors that are available for coloring the terminal font.

Colored

Could be used to color the foreground or background color.

Traits

Colorize

Provides a set of methods to color any type implementing Display with attributes.

Styler

Provides a set of methods to style any type implementing Display with attributes.

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.