Struct term_transcript::svg::Palette [−][src]
pub struct Palette {
pub colors: TermColors,
pub intense_colors: TermColors,
}This is supported on crate feature
svg only.Expand description
Palette of 16 standard terminal colors (8 ordinary colors + 8 intense variations).
Fields
colors: TermColorsOrdinary colors.
intense_colors: TermColorsIntense colors.
Trait Implementations
Returns the palette specified by NamedPalette::Gjm8.
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Palette
impl UnwindSafe for Palette
Blanket Implementations
Mutably borrows from an owned value. Read more
