pub enum Palette16 {
Show 16 variants
Black,
Red,
Green,
Yellow,
Blue,
Magenta,
Cyan,
White,
BrightBlack,
BrightRed,
BrightGreen,
BrightYellow,
BrightBlue,
BrightMagenta,
BrightCyan,
BrightWhite,
}
Expand description
A colour palette optimised for use with ANSI in-band terminal signalling. While designed for terminal environments, this palette may be mapped to alternate colour spaces. A 16-colour palette.
Variants
Black
Red
Green
Yellow
Blue
Magenta
Cyan
White
BrightBlack
BrightRed
BrightGreen
BrightYellow
BrightBlue
BrightMagenta
BrightCyan
BrightWhite
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Palette16
impl Send for Palette16
impl Sync for Palette16
impl Unpin for Palette16
impl UnwindSafe for Palette16
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more