pub enum AnsiColor {
Black,
Red,
Green,
Yellow,
Blue,
Magenta,
Cyan,
White,
}
Expand description
Variants§
Black
Black (ANSI color #0 (dark) or #8 (light)).
Red
Red (ANSI color #1 (dark) or #9 (light)).
Green
Green (ANSI color #2 (dark) or #10 (light)).
Yellow
Yellow (ANSI color #3 (dark) or #11 (light)).
Blue
Blue (ANSI color #4 (dark) or #12 (light)).
Magenta
Magenta (ANSI color #5 (dark) or #13 (light)).
Cyan
Cyan (ANSI color #6 (dark) or #14 (light)).
White
White (ANSI color #7 (dark) or #15 (light)).
Implementations§
Trait Implementations§
impl Copy for AnsiColor
impl StructuralPartialEq for AnsiColor
Auto Trait Implementations§
impl Freeze for AnsiColor
impl RefUnwindSafe for AnsiColor
impl Send for AnsiColor
impl Sync for AnsiColor
impl Unpin for AnsiColor
impl UnwindSafe for AnsiColor
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