pub trait Styleable {
// Required method
fn style(self, style: Style) -> ColoredString;
}Expand description
Trait for applying styles to strings
Required Methods§
Sourcefn style(self, style: Style) -> ColoredString
fn style(self, style: Style) -> ColoredString
Apply a style to create a ColoredString