Struct term_transcript::svg::TermColors
source · pub struct TermColors {
pub black: RgbColor,
pub red: RgbColor,
pub green: RgbColor,
pub yellow: RgbColor,
pub blue: RgbColor,
pub magenta: RgbColor,
pub cyan: RgbColor,
pub white: RgbColor,
}Available on crate feature
svg only.Expand description
Values of 8 base terminal colors.
Fields§
§black: RgbColorBlack color.
red: RgbColorRed color.
green: RgbColorGreen color.
yellow: RgbColorYellow color.
blue: RgbColorBlue color.
magenta: RgbColorMagenta color.
cyan: RgbColorCyan color.
white: RgbColorWhite color.
Trait Implementations§
source§impl Clone for TermColors
impl Clone for TermColors
source§fn clone(&self) -> TermColors
fn clone(&self) -> TermColors
Returns a copy 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 moresource§impl Debug for TermColors
impl Debug for TermColors
source§impl<'de> Deserialize<'de> for TermColors
impl<'de> Deserialize<'de> for TermColors
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