pub enum Attr {
}
Expand description
Terminal character attributes
Variants§
Reset
Clear all special abilities
Bold
Bold text
Dim
Dim or secondary color
Italic
Italic text
Underline
Underline text
BlinkSlow
Blink cursor slowly
BlinkFast
Blink cursor fast
Reverse
Invert colors
Hidden
Do not display characters
Strike
Strikeout text
CancelBold
Cancel bold
CancelBoldDim
Cancel bold and dim
CancelItalic
Cancel italic
CancelUnderline
Cancel underline
CancelBlink
Cancel blink
CancelReverse
Cancel inversion
CancelHidden
Cancel text hiding
CancelStrike
Cancel strikeout
Foreground(Color)
Set indexed foreground color
Background(Color)
Set indexed background color
Trait Implementations§
impl Eq for Attr
impl StructuralPartialEq for Attr
Auto Trait Implementations§
impl Freeze for Attr
impl RefUnwindSafe for Attr
impl Send for Attr
impl Sync for Attr
impl Unpin for Attr
impl UnwindSafe for Attr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more