pub struct Ansi {Show 16 fields
pub black: String,
pub red: String,
pub green: String,
pub yellow: String,
pub blue: String,
pub magenta: String,
pub cyan: String,
pub white: String,
pub bright_black: String,
pub bright_red: String,
pub bright_green: String,
pub bright_yellow: String,
pub bright_blue: String,
pub bright_magenta: String,
pub bright_cyan: String,
pub bright_white: String,
}Expand description
ANSI 16-color definitions (TOML section [ansi]).
All values must be direct #RRGGBB hex strings — no palette references.
Fields§
§black: StringANSI color 0 — black.
red: StringANSI color 1 — red.
green: StringANSI color 2 — green.
yellow: StringANSI color 3 — yellow.
blue: StringANSI color 4 — blue.
magenta: StringANSI color 5 — magenta.
cyan: StringANSI color 6 — cyan.
white: StringANSI color 7 — white.
bright_black: StringANSI color 8 — bright black (dark gray).
bright_red: StringANSI color 9 — bright red.
bright_green: StringANSI color 10 — bright green.
bright_yellow: StringANSI color 11 — bright yellow.
bright_blue: StringANSI color 12 — bright blue.
bright_magenta: StringANSI color 13 — bright magenta.
bright_cyan: StringANSI color 14 — bright cyan.
bright_white: StringANSI color 15 — bright white.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ansi
impl<'de> Deserialize<'de> for Ansi
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 Ansi
impl StructuralPartialEq for Ansi
Auto Trait Implementations§
impl Freeze for Ansi
impl RefUnwindSafe for Ansi
impl Send for Ansi
impl Sync for Ansi
impl Unpin for Ansi
impl UnsafeUnpin for Ansi
impl UnwindSafe for Ansi
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