pub enum IndexedColor {
Show 18 variants
Black,
Red,
Green,
Yellow,
Blue,
Magenta,
Cyan,
White,
BrightBlack,
BrightRed,
BrightGreen,
BrightYellow,
BrightBlue,
BrightMagenta,
BrightCyan,
BrightWhite,
Background,
Foreground,
}Expand description
Standard 16 VT & default foreground/background colors.
Variants§
Black
Red
Green
Yellow
Blue
Magenta
Cyan
White
BrightBlack
BrightRed
BrightGreen
BrightYellow
BrightBlue
BrightMagenta
BrightCyan
BrightWhite
Background
Foreground
Trait Implementations§
Source§impl Clone for IndexedColor
impl Clone for IndexedColor
Source§fn clone(&self) -> IndexedColor
fn clone(&self) -> IndexedColor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IndexedColor
Auto Trait Implementations§
impl Freeze for IndexedColor
impl RefUnwindSafe for IndexedColor
impl Send for IndexedColor
impl Sync for IndexedColor
impl Unpin for IndexedColor
impl UnwindSafe for IndexedColor
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