pub trait Colored {
// Required method
fn colored(self) -> ColoredString;
}Expand description
The trait that enables a string to be colorized
Required Methods§
Sourcefn colored(self) -> ColoredString
fn colored(self) -> ColoredString
Creates a new ColoredString by parsing given text.