[−][src]Trait crossterm_style::Colorize
Provides a set of methods to color any type implementing Display
with attributes.
This trait is implemented for &static str
and StyledObject
and thus the methods of this trait could be called on them.
use Colorizer; let styled_text = "Red forground color on blue background.".red().on_blue(); println!("{}", styled_text);