pub enum AnsiColor {
Black,
Red,
Green,
Yellow,
Blue,
Magenta,
Cyan,
White,
}Expand description
The 8 ANSI colours, mapped to palette roles (not raw RGB) so the terminal follows the theme.
Variants§
Trait Implementations§
impl Copy for AnsiColor
Source§impl<'de> Deserialize<'de> for AnsiColor
impl<'de> Deserialize<'de> for AnsiColor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq 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 UnsafeUnpin for AnsiColor
impl UnwindSafe for AnsiColor
Blanket Implementations§
impl<T> Allocation for T
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