Expand description
Module that contains all the actions related to the styling of the terminal. like coloring adding attributes etc.
Modules
With this module you can perform actions that are color related.
Like styling the font, foreground color and background.
This module contains the
object style
that can be applied to an styled object
.This module contains the logic to style an object that contains some state witch can be styled.
Structs
This is a wrapper for a styled object on alternate screen so that the styled object could be printed on the alternate screen with the standard write functions in rust.
Struct that contains the style properties that can be applied to an displayable object.
Struct that contains both the style and the content wits can be styled.
Struct that stores an specific platform implementation for color related actions.
Enums
Attributes that could be applied on some text.
Colors that are available for coloring the terminal font.
Color types that can be used to determine if the Color enum is an Fore- or Background Color
Functions
Get an Terminal Color implementation whereon color related actions can be performed.
Pass the reference to any screen you want this type to perform actions on.
Get an Terminal Color implementation whereon color related actions can be performed.
Pass the reference to any screen you want this type to perform actions on.
This could be used to style an
Displayable
type with colors and attributes.