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: RgbColor
Black color.
red: RgbColor
Red color.
green: RgbColor
Green color.
yellow: RgbColor
Yellow color.
blue: RgbColor
Blue color.
magenta: RgbColor
Magenta color.
cyan: RgbColor
Cyan color.
white: RgbColor
White color.
Trait Implementations
sourceimpl Clone for TermColors
impl Clone for TermColors
sourcefn clone(&self) -> TermColors
fn clone(&self) -> TermColors
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TermColors
impl Debug for TermColors
sourceimpl<'de> Deserialize<'de> for TermColors
impl<'de> Deserialize<'de> for TermColors
sourcefn 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
sourceimpl Serialize for TermColors
impl Serialize for TermColors
impl Copy for TermColors
Auto Trait Implementations
impl RefUnwindSafe for TermColors
impl Send for TermColors
impl Sync for TermColors
impl Unpin for TermColors
impl UnwindSafe for TermColors
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more