pub trait AnsiStyles {
// Required methods
fn header(&self) -> String;
fn usage(&self) -> String;
fn literal(&self) -> String;
fn placeholder(&self) -> String;
fn error(&self) -> String;
fn valid(&self) -> String;
fn invalid(&self) -> String;
}Expand description
A trait for applying Styles defined in styles to text.
Required Methods§
Sourcefn placeholder(&self) -> String
fn placeholder(&self) -> String
Apply placeholder style to text