Trait owo_colors::Color
source · pub trait Color {
const ANSI_FG: &'static str;
const ANSI_BG: &'static str;
const RAW_ANSI_FG: &'static str;
const RAW_ANSI_BG: &'static str;
}
Expand description
A trait for describing a type which can be used with FgColorDisplay
or
BgCBgColorDisplay
Required Associated Constants§
sourceconst RAW_ANSI_FG: &'static str
const RAW_ANSI_FG: &'static str
The raw ANSI format for settings this color as the foreground without the ANSI delimiters (“\x1b” and “m”)
sourceconst RAW_ANSI_BG: &'static str
const RAW_ANSI_BG: &'static str
The raw ANSI format for settings this color as the background without the ANSI delimiters (“\x1b” and “m”)