Struct term_transcript::svg::TermColors [−][src]
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,
}This is supported 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
impl Clone for TermColors[src]
impl Clone for TermColors[src]fn clone(&self) -> TermColors[src]
fn clone(&self) -> TermColors[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for TermColors[src]
impl Debug for TermColors[src]impl<'de> Deserialize<'de> for TermColors[src]
impl<'de> Deserialize<'de> for TermColors[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
impl Serialize for TermColors[src]
impl Serialize for TermColors[src]impl Copy for TermColors[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,