Enum term_painter::Attr
[−]
[src]
pub enum Attr {
Plain,
Bold,
Dim,
Underline,
Blink,
Reverse,
Secure,
}Lists possible attributes. It implements ToStyle so it's possible to call
ToStyle's methods directly on a Attr variant like:
println!("{}", Attr::Bold.fg(Color::Red).paint("Red and bold"));
For more information about enum variants, see term::Attr Documentation.
Variants
Plain | Just default style |
Bold | |
Dim | |
Underline | |
Blink | |
Reverse | |
Secure |