Enum colorz::Color

source ·
pub enum Color {
    Ansi(AnsiColor),
    Xterm(XtermColor),
    Css(CssColor),
    Rgb(RgbColor),
}
Expand description

A runtime color args

Variants§

§

Ansi(AnsiColor)

The ANSI color type (see ansi for details)

§

Xterm(XtermColor)

The Xterm color type (see xterm for details)

§

Css(CssColor)

The CSS color type (see css for details)

§

Rgb(RgbColor)

The Rgb color type (see rgb for details)

Trait Implementations§

source§

impl Clone for Color

source§

fn clone(&self) -> Color

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Color

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<AliceBlue> for Color

source§

fn from(_: AliceBlue) -> Self

Converts to this type from the input type.
source§

impl From<AnsiColor> for Color

source§

fn from(color: AnsiColor) -> Self

Converts to this type from the input type.
source§

impl From<AntiqueWhite> for Color

source§

fn from(_: AntiqueWhite) -> Self

Converts to this type from the input type.
source§

impl From<Aqua> for Color

source§

fn from(_: Aqua) -> Self

Converts to this type from the input type.
source§

impl From<Aqua> for Color

source§

fn from(_: Aqua) -> Self

Converts to this type from the input type.
source§

impl From<Aquamarine> for Color

source§

fn from(_: Aquamarine) -> Self

Converts to this type from the input type.
source§

impl From<Aquamarine> for Color

source§

fn from(_: Aquamarine) -> Self

Converts to this type from the input type.
source§

impl From<Aquamarine1> for Color

source§

fn from(_: Aquamarine1) -> Self

Converts to this type from the input type.
source§

impl From<Azure> for Color

source§

fn from(_: Azure) -> Self

Converts to this type from the input type.
source§

impl From<Beige> for Color

source§

fn from(_: Beige) -> Self

Converts to this type from the input type.
source§

impl From<Bisque> for Color

source§

fn from(_: Bisque) -> Self

Converts to this type from the input type.
source§

impl From<Black> for Color

source§

fn from(_: Black) -> Self

Converts to this type from the input type.
source§

impl From<Black> for Color

source§

fn from(_: Black) -> Self

Converts to this type from the input type.
source§

impl From<Black> for Color

source§

fn from(_: Black) -> Self

Converts to this type from the input type.
source§

impl From<BlanchedAlmond> for Color

source§

fn from(_: BlanchedAlmond) -> Self

Converts to this type from the input type.
source§

impl From<Blue> for Color

source§

fn from(_: Blue) -> Self

Converts to this type from the input type.
source§

impl From<Blue> for Color

source§

fn from(_: Blue) -> Self

Converts to this type from the input type.
source§

impl From<Blue> for Color

source§

fn from(_: Blue) -> Self

Converts to this type from the input type.
source§

impl From<Blue1> for Color

source§

fn from(_: Blue1) -> Self

Converts to this type from the input type.
source§

impl From<Blue3> for Color

source§

fn from(_: Blue3) -> Self

Converts to this type from the input type.
source§

impl From<BlueViolet> for Color

source§

fn from(_: BlueViolet) -> Self

Converts to this type from the input type.
source§

impl From<BlueViolet> for Color

source§

fn from(_: BlueViolet) -> Self

Converts to this type from the input type.
source§

impl From<BrightBlack> for Color

source§

fn from(_: BrightBlack) -> Self

Converts to this type from the input type.
source§

impl From<BrightBlack> for Color

source§

fn from(_: BrightBlack) -> Self

Converts to this type from the input type.
source§

impl From<BrightBlue> for Color

source§

fn from(_: BrightBlue) -> Self

Converts to this type from the input type.
source§

impl From<BrightBlue> for Color

source§

fn from(_: BrightBlue) -> Self

Converts to this type from the input type.
source§

impl From<BrightCyan> for Color

source§

fn from(_: BrightCyan) -> Self

Converts to this type from the input type.
source§

impl From<BrightCyan> for Color

source§

fn from(_: BrightCyan) -> Self

Converts to this type from the input type.
source§

impl From<BrightGreen> for Color

source§

fn from(_: BrightGreen) -> Self

Converts to this type from the input type.
source§

impl From<BrightGreen> for Color

source§

fn from(_: BrightGreen) -> Self

Converts to this type from the input type.
source§

impl From<BrightMagenta> for Color

source§

fn from(_: BrightMagenta) -> Self

Converts to this type from the input type.
source§

impl From<BrightMagenta> for Color

source§

fn from(_: BrightMagenta) -> Self

Converts to this type from the input type.
source§

impl From<BrightRed> for Color

source§

fn from(_: BrightRed) -> Self

Converts to this type from the input type.
source§

impl From<BrightRed> for Color

source§

fn from(_: BrightRed) -> Self

Converts to this type from the input type.
source§

impl From<BrightWhite> for Color

source§

fn from(_: BrightWhite) -> Self

Converts to this type from the input type.
source§

impl From<BrightWhite> for Color

source§

fn from(_: BrightWhite) -> Self

Converts to this type from the input type.
source§

impl From<BrightYellow> for Color

source§

fn from(_: BrightYellow) -> Self

Converts to this type from the input type.
source§

impl From<BrightYellow> for Color

source§

fn from(_: BrightYellow) -> Self

Converts to this type from the input type.
source§

impl From<Brown> for Color

source§

fn from(_: Brown) -> Self

Converts to this type from the input type.
source§

impl From<BurlyWood> for Color

source§

fn from(_: BurlyWood) -> Self

Converts to this type from the input type.
source§

impl From<CadetBlue> for Color

source§

fn from(_: CadetBlue) -> Self

Converts to this type from the input type.
source§

impl From<CadetBlue> for Color

source§

fn from(_: CadetBlue) -> Self

Converts to this type from the input type.
source§

impl From<Chartreuse> for Color

source§

fn from(_: Chartreuse) -> Self

Converts to this type from the input type.
source§

impl From<Chartreuse> for Color

source§

fn from(_: Chartreuse) -> Self

Converts to this type from the input type.
source§

impl From<Chartreuse2> for Color

source§

fn from(_: Chartreuse2) -> Self

Converts to this type from the input type.
source§

impl From<Chartreuse3> for Color

source§

fn from(_: Chartreuse3) -> Self

Converts to this type from the input type.
source§

impl From<Chartreuse4> for Color

source§

fn from(_: Chartreuse4) -> Self

Converts to this type from the input type.
source§

impl From<Chocolate> for Color

source§

fn from(_: Chocolate) -> Self

Converts to this type from the input type.
source§

impl From<Coral> for Color

source§

fn from(_: Coral) -> Self

Converts to this type from the input type.
source§

impl From<CornflowerBlue> for Color

source§

fn from(_: CornflowerBlue) -> Self

Converts to this type from the input type.
source§

impl From<CornflowerBlue> for Color

source§

fn from(_: CornflowerBlue) -> Self

Converts to this type from the input type.
source§

impl From<Cornsilk> for Color

source§

fn from(_: Cornsilk) -> Self

Converts to this type from the input type.
source§

impl From<Cornsilk> for Color

source§

fn from(_: Cornsilk) -> Self

Converts to this type from the input type.
source§

impl From<Crimson> for Color

source§

fn from(_: Crimson) -> Self

Converts to this type from the input type.
source§

impl From<Crimson> for Color

source§

fn from(_: Crimson) -> Self

Converts to this type from the input type.
source§

impl From<CssColor> for Color

source§

fn from(color: CssColor) -> Self

Converts to this type from the input type.
source§

impl From<Cyan> for Color

source§

fn from(_: Cyan) -> Self

Converts to this type from the input type.
source§

impl From<Cyan> for Color

source§

fn from(_: Cyan) -> Self

Converts to this type from the input type.
source§

impl From<Cyan2> for Color

source§

fn from(_: Cyan2) -> Self

Converts to this type from the input type.
source§

impl From<Cyan3> for Color

source§

fn from(_: Cyan3) -> Self

Converts to this type from the input type.
source§

impl From<Cyan4> for Color

source§

fn from(_: Cyan4) -> Self

Converts to this type from the input type.
source§

impl From<DarkBlue> for Color

source§

fn from(_: DarkBlue) -> Self

Converts to this type from the input type.
source§

impl From<DarkBlue> for Color

source§

fn from(_: DarkBlue) -> Self

Converts to this type from the input type.
source§

impl From<DarkCyan> for Color

source§

fn from(_: DarkCyan) -> Self

Converts to this type from the input type.
source§

impl From<DarkCyan> for Color

source§

fn from(_: DarkCyan) -> Self

Converts to this type from the input type.
source§

impl From<DarkGoldenRod> for Color

source§

fn from(_: DarkGoldenRod) -> Self

Converts to this type from the input type.
source§

impl From<DarkGoldenrod> for Color

source§

fn from(_: DarkGoldenrod) -> Self

Converts to this type from the input type.
source§

impl From<DarkGoldenrod3> for Color

source§

fn from(_: DarkGoldenrod3) -> Self

Converts to this type from the input type.
source§

impl From<DarkGoldenrod4> for Color

source§

fn from(_: DarkGoldenrod4) -> Self

Converts to this type from the input type.
source§

impl From<DarkGray> for Color

source§

fn from(_: DarkGray) -> Self

Converts to this type from the input type.
source§

impl From<DarkGreen> for Color

source§

fn from(_: DarkGreen) -> Self

Converts to this type from the input type.
source§

impl From<DarkGreen> for Color

source§

fn from(_: DarkGreen) -> Self

Converts to this type from the input type.
source§

impl From<DarkGrey> for Color

source§

fn from(_: DarkGrey) -> Self

Converts to this type from the input type.
source§

impl From<DarkKhaki> for Color

source§

fn from(_: DarkKhaki) -> Self

Converts to this type from the input type.
source§

impl From<DarkKhaki> for Color

source§

fn from(_: DarkKhaki) -> Self

Converts to this type from the input type.
source§

impl From<DarkMagenta> for Color

source§

fn from(_: DarkMagenta) -> Self

Converts to this type from the input type.
source§

impl From<DarkMagenta> for Color

source§

fn from(_: DarkMagenta) -> Self

Converts to this type from the input type.
source§

impl From<DarkOliveGreen> for Color

source§

fn from(_: DarkOliveGreen) -> Self

Converts to this type from the input type.
source§

impl From<DarkOliveGreen1> for Color

source§

fn from(_: DarkOliveGreen1) -> Self

Converts to this type from the input type.
source§

impl From<DarkOliveGreen2> for Color

source§

fn from(_: DarkOliveGreen2) -> Self

Converts to this type from the input type.
source§

impl From<DarkOliveGreen3> for Color

source§

fn from(_: DarkOliveGreen3) -> Self

Converts to this type from the input type.
source§

impl From<DarkOrange> for Color

source§

fn from(_: DarkOrange) -> Self

Converts to this type from the input type.
source§

impl From<DarkOrange> for Color

source§

fn from(_: DarkOrange) -> Self

Converts to this type from the input type.
source§

impl From<DarkOrange3> for Color

source§

fn from(_: DarkOrange3) -> Self

Converts to this type from the input type.
source§

impl From<DarkOrchid> for Color

source§

fn from(_: DarkOrchid) -> Self

Converts to this type from the input type.
source§

impl From<DarkOrchid1> for Color

source§

fn from(_: DarkOrchid1) -> Self

Converts to this type from the input type.
source§

impl From<DarkOrchid3> for Color

source§

fn from(_: DarkOrchid3) -> Self

Converts to this type from the input type.
source§

impl From<DarkOrchid4> for Color

source§

fn from(_: DarkOrchid4) -> Self

Converts to this type from the input type.
source§

impl From<DarkRed> for Color

source§

fn from(_: DarkRed) -> Self

Converts to this type from the input type.
source§

impl From<DarkRed> for Color

source§

fn from(_: DarkRed) -> Self

Converts to this type from the input type.
source§

impl From<DarkSalmon> for Color

source§

fn from(_: DarkSalmon) -> Self

Converts to this type from the input type.
source§

impl From<DarkSeaGreen> for Color

source§

fn from(_: DarkSeaGreen) -> Self

Converts to this type from the input type.
source§

impl From<DarkSeaGreen> for Color

source§

fn from(_: DarkSeaGreen) -> Self

Converts to this type from the input type.
source§

impl From<DarkSeaGreen1> for Color

source§

fn from(_: DarkSeaGreen1) -> Self

Converts to this type from the input type.
source§

impl From<DarkSeaGreen2> for Color

source§

fn from(_: DarkSeaGreen2) -> Self

Converts to this type from the input type.
source§

impl From<DarkSeaGreen3> for Color

source§

fn from(_: DarkSeaGreen3) -> Self

Converts to this type from the input type.
source§

impl From<DarkSeaGreen4> for Color

source§

fn from(_: DarkSeaGreen4) -> Self

Converts to this type from the input type.
source§

impl From<DarkSlateBlue> for Color

source§

fn from(_: DarkSlateBlue) -> Self

Converts to this type from the input type.
source§

impl From<DarkSlateGray> for Color

source§

fn from(_: DarkSlateGray) -> Self

Converts to this type from the input type.
source§

impl From<DarkSlateGray1> for Color

source§

fn from(_: DarkSlateGray1) -> Self

Converts to this type from the input type.
source§

impl From<DarkSlateGray2> for Color

source§

fn from(_: DarkSlateGray2) -> Self

Converts to this type from the input type.
source§

impl From<DarkSlateGray3> for Color

source§

fn from(_: DarkSlateGray3) -> Self

Converts to this type from the input type.
source§

impl From<DarkSlateGray4> for Color

source§

fn from(_: DarkSlateGray4) -> Self

Converts to this type from the input type.
source§

impl From<DarkSlateGrey> for Color

source§

fn from(_: DarkSlateGrey) -> Self

Converts to this type from the input type.
source§

impl From<DarkTurquoise> for Color

source§

fn from(_: DarkTurquoise) -> Self

Converts to this type from the input type.
source§

impl From<DarkTurquoise> for Color

source§

fn from(_: DarkTurquoise) -> Self

Converts to this type from the input type.
source§

impl From<DarkViolet> for Color

source§

fn from(_: DarkViolet) -> Self

Converts to this type from the input type.
source§

impl From<DarkViolet> for Color

source§

fn from(_: DarkViolet) -> Self

Converts to this type from the input type.
source§

impl From<DeepPink> for Color

source§

fn from(_: DeepPink) -> Self

Converts to this type from the input type.
source§

impl From<DeepPink> for Color

source§

fn from(_: DeepPink) -> Self

Converts to this type from the input type.
source§

impl From<DeepPink1> for Color

source§

fn from(_: DeepPink1) -> Self

Converts to this type from the input type.
source§

impl From<DeepPink2> for Color

source§

fn from(_: DeepPink2) -> Self

Converts to this type from the input type.
source§

impl From<DeepPink3> for Color

source§

fn from(_: DeepPink3) -> Self

Converts to this type from the input type.
source§

impl From<DeepPink4> for Color

source§

fn from(_: DeepPink4) -> Self

Converts to this type from the input type.
source§

impl From<DeepSkyBlue> for Color

source§

fn from(_: DeepSkyBlue) -> Self

Converts to this type from the input type.
source§

impl From<DeepSkyBlue> for Color

source§

fn from(_: DeepSkyBlue) -> Self

Converts to this type from the input type.
source§

impl From<DeepSkyBlue2> for Color

source§

fn from(_: DeepSkyBlue2) -> Self

Converts to this type from the input type.
source§

impl From<DeepSkyBlue3> for Color

source§

fn from(_: DeepSkyBlue3) -> Self

Converts to this type from the input type.
source§

impl From<DeepSkyBlue4> for Color

source§

fn from(_: DeepSkyBlue4) -> Self

Converts to this type from the input type.
source§

impl From<Default> for Color

source§

fn from(_: Default) -> Self

Converts to this type from the input type.
source§

impl From<DimGray> for Color

source§

fn from(_: DimGray) -> Self

Converts to this type from the input type.
source§

impl From<DimGrey> for Color

source§

fn from(_: DimGrey) -> Self

Converts to this type from the input type.
source§

impl From<DodgerBlue> for Color

source§

fn from(_: DodgerBlue) -> Self

Converts to this type from the input type.
source§

impl From<DodgerBlue> for Color

source§

fn from(_: DodgerBlue) -> Self

Converts to this type from the input type.
source§

impl From<DodgerBlue2> for Color

source§

fn from(_: DodgerBlue2) -> Self

Converts to this type from the input type.
source§

impl From<DodgerBlue3> for Color

source§

fn from(_: DodgerBlue3) -> Self

Converts to this type from the input type.
source§

impl From<DodgerBlue4> for Color

source§

fn from(_: DodgerBlue4) -> Self

Converts to this type from the input type.
source§

impl From<FireBrick> for Color

source§

fn from(_: FireBrick) -> Self

Converts to this type from the input type.
source§

impl From<Firebrick4> for Color

source§

fn from(_: Firebrick4) -> Self

Converts to this type from the input type.
source§

impl From<FloralWhite> for Color

source§

fn from(_: FloralWhite) -> Self

Converts to this type from the input type.
source§

impl From<ForestGreen> for Color

source§

fn from(_: ForestGreen) -> Self

Converts to this type from the input type.
source§

impl From<ForestGreen> for Color

source§

fn from(_: ForestGreen) -> Self

Converts to this type from the input type.
source§

impl From<Fuchsia> for Color

source§

fn from(_: Fuchsia) -> Self

Converts to this type from the input type.
source§

impl From<Fuchsia> for Color

source§

fn from(_: Fuchsia) -> Self

Converts to this type from the input type.
source§

impl From<Gainsboro> for Color

source§

fn from(_: Gainsboro) -> Self

Converts to this type from the input type.
source§

impl From<GhostWhite> for Color

source§

fn from(_: GhostWhite) -> Self

Converts to this type from the input type.
source§

impl From<Gold> for Color

source§

fn from(_: Gold) -> Self

Converts to this type from the input type.
source§

impl From<Gold> for Color

source§

fn from(_: Gold) -> Self

Converts to this type from the input type.
source§

impl From<Gold3> for Color

source§

fn from(_: Gold3) -> Self

Converts to this type from the input type.
source§

impl From<GoldenRod> for Color

source§

fn from(_: GoldenRod) -> Self

Converts to this type from the input type.
source§

impl From<Gray> for Color

source§

fn from(_: Gray) -> Self

Converts to this type from the input type.
source§

impl From<Gray0> for Color

source§

fn from(_: Gray0) -> Self

Converts to this type from the input type.
source§

impl From<Gray100> for Color

source§

fn from(_: Gray100) -> Self

Converts to this type from the input type.
source§

impl From<Gray11> for Color

source§

fn from(_: Gray11) -> Self

Converts to this type from the input type.
source§

impl From<Gray15> for Color

source§

fn from(_: Gray15) -> Self

Converts to this type from the input type.
source§

impl From<Gray19> for Color

source§

fn from(_: Gray19) -> Self

Converts to this type from the input type.
source§

impl From<Gray23> for Color

source§

fn from(_: Gray23) -> Self

Converts to this type from the input type.
source§

impl From<Gray27> for Color

source§

fn from(_: Gray27) -> Self

Converts to this type from the input type.
source§

impl From<Gray3> for Color

source§

fn from(_: Gray3) -> Self

Converts to this type from the input type.
source§

impl From<Gray30> for Color

source§

fn from(_: Gray30) -> Self

Converts to this type from the input type.
source§

impl From<Gray34> for Color

source§

fn from(_: Gray34) -> Self

Converts to this type from the input type.
source§

impl From<Gray37> for Color

source§

fn from(_: Gray37) -> Self

Converts to this type from the input type.
source§

impl From<Gray38> for Color

source§

fn from(_: Gray38) -> Self

Converts to this type from the input type.
source§

impl From<Gray42> for Color

source§

fn from(_: Gray42) -> Self

Converts to this type from the input type.
source§

impl From<Gray46> for Color

source§

fn from(_: Gray46) -> Self

Converts to this type from the input type.
source§

impl From<Gray50> for Color

source§

fn from(_: Gray50) -> Self

Converts to this type from the input type.
source§

impl From<Gray53> for Color

source§

fn from(_: Gray53) -> Self

Converts to this type from the input type.
source§

impl From<Gray54> for Color

source§

fn from(_: Gray54) -> Self

Converts to this type from the input type.
source§

impl From<Gray58> for Color

source§

fn from(_: Gray58) -> Self

Converts to this type from the input type.
source§

impl From<Gray62> for Color

source§

fn from(_: Gray62) -> Self

Converts to this type from the input type.
source§

impl From<Gray63> for Color

source§

fn from(_: Gray63) -> Self

Converts to this type from the input type.
source§

impl From<Gray66> for Color

source§

fn from(_: Gray66) -> Self

Converts to this type from the input type.
source§

impl From<Gray69> for Color

source§

fn from(_: Gray69) -> Self

Converts to this type from the input type.
source§

impl From<Gray7> for Color

source§

fn from(_: Gray7) -> Self

Converts to this type from the input type.
source§

impl From<Gray70> for Color

source§

fn from(_: Gray70) -> Self

Converts to this type from the input type.
source§

impl From<Gray74> for Color

source§

fn from(_: Gray74) -> Self

Converts to this type from the input type.
source§

impl From<Gray78> for Color

source§

fn from(_: Gray78) -> Self

Converts to this type from the input type.
source§

impl From<Gray81> for Color

source§

fn from(_: Gray81) -> Self

Converts to this type from the input type.
source§

impl From<Gray84> for Color

source§

fn from(_: Gray84) -> Self

Converts to this type from the input type.
source§

impl From<Gray85> for Color

source§

fn from(_: Gray85) -> Self

Converts to this type from the input type.
source§

impl From<Gray89> for Color

source§

fn from(_: Gray89) -> Self

Converts to this type from the input type.
source§

impl From<Gray93> for Color

source§

fn from(_: Gray93) -> Self

Converts to this type from the input type.
source§

impl From<Green> for Color

source§

fn from(_: Green) -> Self

Converts to this type from the input type.
source§

impl From<Green> for Color

source§

fn from(_: Green) -> Self

Converts to this type from the input type.
source§

impl From<Green> for Color

source§

fn from(_: Green) -> Self

Converts to this type from the input type.
source§

impl From<Green3> for Color

source§

fn from(_: Green3) -> Self

Converts to this type from the input type.
source§

impl From<Green4> for Color

source§

fn from(_: Green4) -> Self

Converts to this type from the input type.
source§

impl From<GreenYellow> for Color

source§

fn from(_: GreenYellow) -> Self

Converts to this type from the input type.
source§

impl From<GreenYellow> for Color

source§

fn from(_: GreenYellow) -> Self

Converts to this type from the input type.
source§

impl From<Grey> for Color

source§

fn from(_: Grey) -> Self

Converts to this type from the input type.
source§

impl From<Grey63> for Color

source§

fn from(_: Grey63) -> Self

Converts to this type from the input type.
source§

impl From<HoneyDew> for Color

source§

fn from(_: HoneyDew) -> Self

Converts to this type from the input type.
source§

impl From<Honeydew2> for Color

source§

fn from(_: Honeydew2) -> Self

Converts to this type from the input type.
source§

impl From<Honeydew3> for Color

source§

fn from(_: Honeydew3) -> Self

Converts to this type from the input type.
source§

impl From<HotPink> for Color

source§

fn from(_: HotPink) -> Self

Converts to this type from the input type.
source§

impl From<HotPink> for Color

source§

fn from(_: HotPink) -> Self

Converts to this type from the input type.
source§

impl From<HotPink1> for Color

source§

fn from(_: HotPink1) -> Self

Converts to this type from the input type.
source§

impl From<HotPink2> for Color

source§

fn from(_: HotPink2) -> Self

Converts to this type from the input type.
source§

impl From<HotPink3> for Color

source§

fn from(_: HotPink3) -> Self

Converts to this type from the input type.
source§

impl From<IndianRed> for Color

source§

fn from(_: IndianRed) -> Self

Converts to this type from the input type.
source§

impl From<IndianRed> for Color

source§

fn from(_: IndianRed) -> Self

Converts to this type from the input type.
source§

impl From<IndianRed1> for Color

source§

fn from(_: IndianRed1) -> Self

Converts to this type from the input type.
source§

impl From<IndianRed3> for Color

source§

fn from(_: IndianRed3) -> Self

Converts to this type from the input type.
source§

impl From<Indigo> for Color

source§

fn from(_: Indigo) -> Self

Converts to this type from the input type.
source§

impl From<Indigo> for Color

source§

fn from(_: Indigo) -> Self

Converts to this type from the input type.
source§

impl From<Ivory> for Color

source§

fn from(_: Ivory) -> Self

Converts to this type from the input type.
source§

impl From<Khaki> for Color

source§

fn from(_: Khaki) -> Self

Converts to this type from the input type.
source§

impl From<Khaki> for Color

source§

fn from(_: Khaki) -> Self

Converts to this type from the input type.
source§

impl From<Khaki1> for Color

source§

fn from(_: Khaki1) -> Self

Converts to this type from the input type.
source§

impl From<Khaki2> for Color

source§

fn from(_: Khaki2) -> Self

Converts to this type from the input type.
source§

impl From<Khaki3> for Color

source§

fn from(_: Khaki3) -> Self

Converts to this type from the input type.
source§

impl From<Lavender> for Color

source§

fn from(_: Lavender) -> Self

Converts to this type from the input type.
source§

impl From<LavenderBlush> for Color

source§

fn from(_: LavenderBlush) -> Self

Converts to this type from the input type.
source§

impl From<LawnGreen> for Color

source§

fn from(_: LawnGreen) -> Self

Converts to this type from the input type.
source§

impl From<LawnGreen> for Color

source§

fn from(_: LawnGreen) -> Self

Converts to this type from the input type.
source§

impl From<LemonChiffon> for Color

source§

fn from(_: LemonChiffon) -> Self

Converts to this type from the input type.
source§

impl From<LemonChiffon4> for Color

source§

fn from(_: LemonChiffon4) -> Self

Converts to this type from the input type.
source§

impl From<LightBlue> for Color

source§

fn from(_: LightBlue) -> Self

Converts to this type from the input type.
source§

impl From<LightCoral> for Color

source§

fn from(_: LightCoral) -> Self

Converts to this type from the input type.
source§

impl From<LightCoral> for Color

source§

fn from(_: LightCoral) -> Self

Converts to this type from the input type.
source§

impl From<LightCyan> for Color

source§

fn from(_: LightCyan) -> Self

Converts to this type from the input type.
source§

impl From<LightCyan> for Color

source§

fn from(_: LightCyan) -> Self

Converts to this type from the input type.
source§

impl From<LightCyan3> for Color

source§

fn from(_: LightCyan3) -> Self

Converts to this type from the input type.
source§

impl From<LightGoldenRodYellow> for Color

source§

fn from(_: LightGoldenRodYellow) -> Self

Converts to this type from the input type.
source§

impl From<LightGoldenrod> for Color

source§

fn from(_: LightGoldenrod) -> Self

Converts to this type from the input type.
source§

impl From<LightGoldenrod1> for Color

source§

fn from(_: LightGoldenrod1) -> Self

Converts to this type from the input type.
source§

impl From<LightGoldenrod2> for Color

source§

fn from(_: LightGoldenrod2) -> Self

Converts to this type from the input type.
source§

impl From<LightGoldenrod3> for Color

source§

fn from(_: LightGoldenrod3) -> Self

Converts to this type from the input type.
source§

impl From<LightGray> for Color

source§

fn from(_: LightGray) -> Self

Converts to this type from the input type.
source§

impl From<LightGreen> for Color

source§

fn from(_: LightGreen) -> Self

Converts to this type from the input type.
source§

impl From<LightGreen> for Color

source§

fn from(_: LightGreen) -> Self

Converts to this type from the input type.
source§

impl From<LightGrey> for Color

source§

fn from(_: LightGrey) -> Self

Converts to this type from the input type.
source§

impl From<LightPink> for Color

source§

fn from(_: LightPink) -> Self

Converts to this type from the input type.
source§

impl From<LightPink1> for Color

source§

fn from(_: LightPink1) -> Self

Converts to this type from the input type.
source§

impl From<LightPink3> for Color

source§

fn from(_: LightPink3) -> Self

Converts to this type from the input type.
source§

impl From<LightPink4> for Color

source§

fn from(_: LightPink4) -> Self

Converts to this type from the input type.
source§

impl From<LightSalmon> for Color

source§

fn from(_: LightSalmon) -> Self

Converts to this type from the input type.
source§

impl From<LightSalmon> for Color

source§

fn from(_: LightSalmon) -> Self

Converts to this type from the input type.
source§

impl From<LightSalmon3> for Color

source§

fn from(_: LightSalmon3) -> Self

Converts to this type from the input type.
source§

impl From<LightSeaGreen> for Color

source§

fn from(_: LightSeaGreen) -> Self

Converts to this type from the input type.
source§

impl From<LightSeaGreen> for Color

source§

fn from(_: LightSeaGreen) -> Self

Converts to this type from the input type.
source§

impl From<LightSkyBlue> for Color

source§

fn from(_: LightSkyBlue) -> Self

Converts to this type from the input type.
source§

impl From<LightSkyBlue> for Color

source§

fn from(_: LightSkyBlue) -> Self

Converts to this type from the input type.
source§

impl From<LightSkyBlue1> for Color

source§

fn from(_: LightSkyBlue1) -> Self

Converts to this type from the input type.
source§

impl From<LightSkyBlue3> for Color

source§

fn from(_: LightSkyBlue3) -> Self

Converts to this type from the input type.
source§

impl From<LightSlateBlue> for Color

source§

fn from(_: LightSlateBlue) -> Self

Converts to this type from the input type.
source§

impl From<LightSlateGray> for Color

source§

fn from(_: LightSlateGray) -> Self

Converts to this type from the input type.
source§

impl From<LightSlateGray> for Color

source§

fn from(_: LightSlateGray) -> Self

Converts to this type from the input type.
source§

impl From<LightSlateGrey> for Color

source§

fn from(_: LightSlateGrey) -> Self

Converts to this type from the input type.
source§

impl From<LightSteelBlue> for Color

source§

fn from(_: LightSteelBlue) -> Self

Converts to this type from the input type.
source§

impl From<LightSteelBlue> for Color

source§

fn from(_: LightSteelBlue) -> Self

Converts to this type from the input type.
source§

impl From<LightSteelBlue1> for Color

source§

fn from(_: LightSteelBlue1) -> Self

Converts to this type from the input type.
source§

impl From<LightSteelBlue3> for Color

source§

fn from(_: LightSteelBlue3) -> Self

Converts to this type from the input type.
source§

impl From<LightYellow> for Color

source§

fn from(_: LightYellow) -> Self

Converts to this type from the input type.
source§

impl From<LightYellow3> for Color

source§

fn from(_: LightYellow3) -> Self

Converts to this type from the input type.
source§

impl From<Lime> for Color

source§

fn from(_: Lime) -> Self

Converts to this type from the input type.
source§

impl From<Lime> for Color

source§

fn from(_: Lime) -> Self

Converts to this type from the input type.
source§

impl From<LimeGreen> for Color

source§

fn from(_: LimeGreen) -> Self

Converts to this type from the input type.
source§

impl From<LimeGreen> for Color

source§

fn from(_: LimeGreen) -> Self

Converts to this type from the input type.
source§

impl From<Linen> for Color

source§

fn from(_: Linen) -> Self

Converts to this type from the input type.
source§

impl From<Magenta> for Color

source§

fn from(_: Magenta) -> Self

Converts to this type from the input type.
source§

impl From<Magenta> for Color

source§

fn from(_: Magenta) -> Self

Converts to this type from the input type.
source§

impl From<Magenta> for Color

source§

fn from(_: Magenta) -> Self

Converts to this type from the input type.
source§

impl From<Magenta1> for Color

source§

fn from(_: Magenta1) -> Self

Converts to this type from the input type.
source§

impl From<Magenta2> for Color

source§

fn from(_: Magenta2) -> Self

Converts to this type from the input type.
source§

impl From<Magenta3> for Color

source§

fn from(_: Magenta3) -> Self

Converts to this type from the input type.
source§

impl From<Magenta4> for Color

source§

fn from(_: Magenta4) -> Self

Converts to this type from the input type.
source§

impl From<Maroon> for Color

source§

fn from(_: Maroon) -> Self

Converts to this type from the input type.
source§

impl From<Maroon3> for Color

source§

fn from(_: Maroon3) -> Self

Converts to this type from the input type.
source§

impl From<Maroon4> for Color

source§

fn from(_: Maroon4) -> Self

Converts to this type from the input type.
source§

impl From<MediumAquaMarine> for Color

source§

fn from(_: MediumAquaMarine) -> Self

Converts to this type from the input type.
source§

impl From<MediumAquamarine> for Color

source§

fn from(_: MediumAquamarine) -> Self

Converts to this type from the input type.
source§

impl From<MediumBlue> for Color

source§

fn from(_: MediumBlue) -> Self

Converts to this type from the input type.
source§

impl From<MediumBlue> for Color

source§

fn from(_: MediumBlue) -> Self

Converts to this type from the input type.
source§

impl From<MediumOrchid> for Color

source§

fn from(_: MediumOrchid) -> Self

Converts to this type from the input type.
source§

impl From<MediumOrchid> for Color

source§

fn from(_: MediumOrchid) -> Self

Converts to this type from the input type.
source§

impl From<MediumOrchid1> for Color

source§

fn from(_: MediumOrchid1) -> Self

Converts to this type from the input type.
source§

impl From<MediumOrchid2> for Color

source§

fn from(_: MediumOrchid2) -> Self

Converts to this type from the input type.
source§

impl From<MediumOrchid3> for Color

source§

fn from(_: MediumOrchid3) -> Self

Converts to this type from the input type.
source§

impl From<MediumPurple> for Color

source§

fn from(_: MediumPurple) -> Self

Converts to this type from the input type.
source§

impl From<MediumPurple> for Color

source§

fn from(_: MediumPurple) -> Self

Converts to this type from the input type.
source§

impl From<MediumPurple1> for Color

source§

fn from(_: MediumPurple1) -> Self

Converts to this type from the input type.
source§

impl From<MediumPurple2> for Color

source§

fn from(_: MediumPurple2) -> Self

Converts to this type from the input type.
source§

impl From<MediumPurple3> for Color

source§

fn from(_: MediumPurple3) -> Self

Converts to this type from the input type.
source§

impl From<MediumPurple4> for Color

source§

fn from(_: MediumPurple4) -> Self

Converts to this type from the input type.
source§

impl From<MediumSeaGreen> for Color

source§

fn from(_: MediumSeaGreen) -> Self

Converts to this type from the input type.
source§

impl From<MediumSeaGreen> for Color

source§

fn from(_: MediumSeaGreen) -> Self

Converts to this type from the input type.
source§

impl From<MediumSlateBlue> for Color

source§

fn from(_: MediumSlateBlue) -> Self

Converts to this type from the input type.
source§

impl From<MediumSpringGreen> for Color

source§

fn from(_: MediumSpringGreen) -> Self

Converts to this type from the input type.
source§

impl From<MediumSpringGreen> for Color

source§

fn from(_: MediumSpringGreen) -> Self

Converts to this type from the input type.
source§

impl From<MediumTurquoise> for Color

source§

fn from(_: MediumTurquoise) -> Self

Converts to this type from the input type.
source§

impl From<MediumTurquoise> for Color

source§

fn from(_: MediumTurquoise) -> Self

Converts to this type from the input type.
source§

impl From<MediumVioletRed> for Color

source§

fn from(_: MediumVioletRed) -> Self

Converts to this type from the input type.
source§

impl From<MediumVioletRed> for Color

source§

fn from(_: MediumVioletRed) -> Self

Converts to this type from the input type.
source§

impl From<MidnightBlue> for Color

source§

fn from(_: MidnightBlue) -> Self

Converts to this type from the input type.
source§

impl From<MintCream> for Color

source§

fn from(_: MintCream) -> Self

Converts to this type from the input type.
source§

impl From<MistyRose> for Color

source§

fn from(_: MistyRose) -> Self

Converts to this type from the input type.
source§

impl From<MistyRose> for Color

source§

fn from(_: MistyRose) -> Self

Converts to this type from the input type.
source§

impl From<MistyRose3> for Color

source§

fn from(_: MistyRose3) -> Self

Converts to this type from the input type.
source§

impl From<Moccasin> for Color

source§

fn from(_: Moccasin) -> Self

Converts to this type from the input type.
source§

impl From<NavajoWhite> for Color

source§

fn from(_: NavajoWhite) -> Self

Converts to this type from the input type.
source§

impl From<NavajoWhite> for Color

source§

fn from(_: NavajoWhite) -> Self

Converts to this type from the input type.
source§

impl From<NavajoWhite3> for Color

source§

fn from(_: NavajoWhite3) -> Self

Converts to this type from the input type.
source§

impl From<NavajoWhite4> for Color

source§

fn from(_: NavajoWhite4) -> Self

Converts to this type from the input type.
source§

impl From<Navy> for Color

source§

fn from(_: Navy) -> Self

Converts to this type from the input type.
source§

impl From<Navy> for Color

source§

fn from(_: Navy) -> Self

Converts to this type from the input type.
source§

impl From<OldLace> for Color

source§

fn from(_: OldLace) -> Self

Converts to this type from the input type.
source§

impl From<Olive> for Color

source§

fn from(_: Olive) -> Self

Converts to this type from the input type.
source§

impl From<Olive> for Color

source§

fn from(_: Olive) -> Self

Converts to this type from the input type.
source§

impl From<OliveDrab> for Color

source§

fn from(_: OliveDrab) -> Self

Converts to this type from the input type.
source§

impl From<OliveDrab> for Color

source§

fn from(_: OliveDrab) -> Self

Converts to this type from the input type.
source§

impl From<OliveDrab2> for Color

source§

fn from(_: OliveDrab2) -> Self

Converts to this type from the input type.
source§

impl From<OliveDrab3> for Color

source§

fn from(_: OliveDrab3) -> Self

Converts to this type from the input type.
source§

impl From<OliveDrab4> for Color

source§

fn from(_: OliveDrab4) -> Self

Converts to this type from the input type.
source§

impl From<Orange> for Color

source§

fn from(_: Orange) -> Self

Converts to this type from the input type.
source§

impl From<Orange> for Color

source§

fn from(_: Orange) -> Self

Converts to this type from the input type.
source§

impl From<Orange3> for Color

source§

fn from(_: Orange3) -> Self

Converts to this type from the input type.
source§

impl From<Orange4> for Color

source§

fn from(_: Orange4) -> Self

Converts to this type from the input type.
source§

impl From<OrangeRed> for Color

source§

fn from(_: OrangeRed) -> Self

Converts to this type from the input type.
source§

impl From<OrangeRed> for Color

source§

fn from(_: OrangeRed) -> Self

Converts to this type from the input type.
source§

impl From<Orchid> for Color

source§

fn from(_: Orchid) -> Self

Converts to this type from the input type.
source§

impl From<Orchid> for Color

source§

fn from(_: Orchid) -> Self

Converts to this type from the input type.
source§

impl From<Orchid1> for Color

source§

fn from(_: Orchid1) -> Self

Converts to this type from the input type.
source§

impl From<Orchid2> for Color

source§

fn from(_: Orchid2) -> Self

Converts to this type from the input type.
source§

impl From<Orchid4> for Color

source§

fn from(_: Orchid4) -> Self

Converts to this type from the input type.
source§

impl From<PaleGoldenRod> for Color

source§

fn from(_: PaleGoldenRod) -> Self

Converts to this type from the input type.
source§

impl From<PaleGoldenrod> for Color

source§

fn from(_: PaleGoldenrod) -> Self

Converts to this type from the input type.
source§

impl From<PaleGreen> for Color

source§

fn from(_: PaleGreen) -> Self

Converts to this type from the input type.
source§

impl From<PaleGreen> for Color

source§

fn from(_: PaleGreen) -> Self

Converts to this type from the input type.
source§

impl From<PaleGreen1> for Color

source§

fn from(_: PaleGreen1) -> Self

Converts to this type from the input type.
source§

impl From<PaleGreen2> for Color

source§

fn from(_: PaleGreen2) -> Self

Converts to this type from the input type.
source§

impl From<PaleGreen3> for Color

source§

fn from(_: PaleGreen3) -> Self

Converts to this type from the input type.
source§

impl From<PaleGreen4> for Color

source§

fn from(_: PaleGreen4) -> Self

Converts to this type from the input type.
source§

impl From<PaleTurquoise> for Color

source§

fn from(_: PaleTurquoise) -> Self

Converts to this type from the input type.
source§

impl From<PaleTurquoise1> for Color

source§

fn from(_: PaleTurquoise1) -> Self

Converts to this type from the input type.
source§

impl From<PaleTurquoise4> for Color

source§

fn from(_: PaleTurquoise4) -> Self

Converts to this type from the input type.
source§

impl From<PaleVioletRed> for Color

source§

fn from(_: PaleVioletRed) -> Self

Converts to this type from the input type.
source§

impl From<PaleVioletRed1> for Color

source§

fn from(_: PaleVioletRed1) -> Self

Converts to this type from the input type.
source§

impl From<PaleVioletRed3> for Color

source§

fn from(_: PaleVioletRed3) -> Self

Converts to this type from the input type.
source§

impl From<PapayaWhip> for Color

source§

fn from(_: PapayaWhip) -> Self

Converts to this type from the input type.
source§

impl From<PeachPuff> for Color

source§

fn from(_: PeachPuff) -> Self

Converts to this type from the input type.
source§

impl From<Peru> for Color

source§

fn from(_: Peru) -> Self

Converts to this type from the input type.
source§

impl From<Pink> for Color

source§

fn from(_: Pink) -> Self

Converts to this type from the input type.
source§

impl From<Pink1> for Color

source§

fn from(_: Pink1) -> Self

Converts to this type from the input type.
source§

impl From<Pink3> for Color

source§

fn from(_: Pink3) -> Self

Converts to this type from the input type.
source§

impl From<Plum> for Color

source§

fn from(_: Plum) -> Self

Converts to this type from the input type.
source§

impl From<Plum1> for Color

source§

fn from(_: Plum1) -> Self

Converts to this type from the input type.
source§

impl From<Plum2> for Color

source§

fn from(_: Plum2) -> Self

Converts to this type from the input type.
source§

impl From<Plum3> for Color

source§

fn from(_: Plum3) -> Self

Converts to this type from the input type.
source§

impl From<Plum4> for Color

source§

fn from(_: Plum4) -> Self

Converts to this type from the input type.
source§

impl From<PowderBlue> for Color

source§

fn from(_: PowderBlue) -> Self

Converts to this type from the input type.
source§

impl From<Purple> for Color

source§

fn from(_: Purple) -> Self

Converts to this type from the input type.
source§

impl From<Purple> for Color

source§

fn from(_: Purple) -> Self

Converts to this type from the input type.
source§

impl From<Purple2> for Color

source§

fn from(_: Purple2) -> Self

Converts to this type from the input type.
source§

impl From<Purple3> for Color

source§

fn from(_: Purple3) -> Self

Converts to this type from the input type.
source§

impl From<Purple4> for Color

source§

fn from(_: Purple4) -> Self

Converts to this type from the input type.
source§

impl From<RebeccaPurple> for Color

source§

fn from(_: RebeccaPurple) -> Self

Converts to this type from the input type.
source§

impl From<Red> for Color

source§

fn from(_: Red) -> Self

Converts to this type from the input type.
source§

impl From<Red> for Color

source§

fn from(_: Red) -> Self

Converts to this type from the input type.
source§

impl From<Red> for Color

source§

fn from(_: Red) -> Self

Converts to this type from the input type.
source§

impl From<Red1> for Color

source§

fn from(_: Red1) -> Self

Converts to this type from the input type.
source§

impl From<Red3> for Color

source§

fn from(_: Red3) -> Self

Converts to this type from the input type.
source§

impl From<Red4> for Color

source§

fn from(_: Red4) -> Self

Converts to this type from the input type.
source§

impl<const RED: u8, const GREEN: u8, const BLUE: u8> From<Rgb<RED, GREEN, BLUE>> for Color

source§

fn from(color: Rgb<RED, GREEN, BLUE>) -> Self

Converts to this type from the input type.
source§

impl From<RgbColor> for Color

source§

fn from(color: RgbColor) -> Self

Converts to this type from the input type.
source§

impl From<RosyBrown> for Color

source§

fn from(_: RosyBrown) -> Self

Converts to this type from the input type.
source§

impl From<RosyBrown> for Color

source§

fn from(_: RosyBrown) -> Self

Converts to this type from the input type.
source§

impl From<RoyalBlue> for Color

source§

fn from(_: RoyalBlue) -> Self

Converts to this type from the input type.
source§

impl From<RoyalBlue1> for Color

source§

fn from(_: RoyalBlue1) -> Self

Converts to this type from the input type.
source§

impl From<SaddleBrown> for Color

source§

fn from(_: SaddleBrown) -> Self

Converts to this type from the input type.
source§

impl From<Salmon> for Color

source§

fn from(_: Salmon) -> Self

Converts to this type from the input type.
source§

impl From<Salmon1> for Color

source§

fn from(_: Salmon1) -> Self

Converts to this type from the input type.
source§

impl From<SandyBrown> for Color

source§

fn from(_: SandyBrown) -> Self

Converts to this type from the input type.
source§

impl From<SandyBrown> for Color

source§

fn from(_: SandyBrown) -> Self

Converts to this type from the input type.
source§

impl From<SeaGreen> for Color

source§

fn from(_: SeaGreen) -> Self

Converts to this type from the input type.
source§

impl From<SeaGreen> for Color

source§

fn from(_: SeaGreen) -> Self

Converts to this type from the input type.
source§

impl From<SeaGreen1> for Color

source§

fn from(_: SeaGreen1) -> Self

Converts to this type from the input type.
source§

impl From<SeaGreen2> for Color

source§

fn from(_: SeaGreen2) -> Self

Converts to this type from the input type.
source§

impl From<SeaGreen3> for Color

source§

fn from(_: SeaGreen3) -> Self

Converts to this type from the input type.
source§

impl From<SeaShell> for Color

source§

fn from(_: SeaShell) -> Self

Converts to this type from the input type.
source§

impl From<Sienna> for Color

source§

fn from(_: Sienna) -> Self

Converts to this type from the input type.
source§

impl From<Silver> for Color

source§

fn from(_: Silver) -> Self

Converts to this type from the input type.
source§

impl From<SkyBlue> for Color

source§

fn from(_: SkyBlue) -> Self

Converts to this type from the input type.
source§

impl From<SkyBlue1> for Color

source§

fn from(_: SkyBlue1) -> Self

Converts to this type from the input type.
source§

impl From<SkyBlue2> for Color

source§

fn from(_: SkyBlue2) -> Self

Converts to this type from the input type.
source§

impl From<SkyBlue3> for Color

source§

fn from(_: SkyBlue3) -> Self

Converts to this type from the input type.
source§

impl From<SlateBlue> for Color

source§

fn from(_: SlateBlue) -> Self

Converts to this type from the input type.
source§

impl From<SlateBlue> for Color

source§

fn from(_: SlateBlue) -> Self

Converts to this type from the input type.
source§

impl From<SlateBlue1> for Color

source§

fn from(_: SlateBlue1) -> Self

Converts to this type from the input type.
source§

impl From<SlateBlue3> for Color

source§

fn from(_: SlateBlue3) -> Self

Converts to this type from the input type.
source§

impl From<SlateGray> for Color

source§

fn from(_: SlateGray) -> Self

Converts to this type from the input type.
source§

impl From<SlateGrey> for Color

source§

fn from(_: SlateGrey) -> Self

Converts to this type from the input type.
source§

impl From<Snow> for Color

source§

fn from(_: Snow) -> Self

Converts to this type from the input type.
source§

impl From<SpringGreen> for Color

source§

fn from(_: SpringGreen) -> Self

Converts to this type from the input type.
source§

impl From<SpringGreen> for Color

source§

fn from(_: SpringGreen) -> Self

Converts to this type from the input type.
source§

impl From<SpringGreen1> for Color

source§

fn from(_: SpringGreen1) -> Self

Converts to this type from the input type.
source§

impl From<SpringGreen2> for Color

source§

fn from(_: SpringGreen2) -> Self

Converts to this type from the input type.
source§

impl From<SpringGreen3> for Color

source§

fn from(_: SpringGreen3) -> Self

Converts to this type from the input type.
source§

impl From<SpringGreen4> for Color

source§

fn from(_: SpringGreen4) -> Self

Converts to this type from the input type.
source§

impl From<SteelBlue> for Color

source§

fn from(_: SteelBlue) -> Self

Converts to this type from the input type.
source§

impl From<SteelBlue> for Color

source§

fn from(_: SteelBlue) -> Self

Converts to this type from the input type.
source§

impl From<SteelBlue1> for Color

source§

fn from(_: SteelBlue1) -> Self

Converts to this type from the input type.
source§

impl From<SteelBlue3> for Color

source§

fn from(_: SteelBlue3) -> Self

Converts to this type from the input type.
source§

impl From<Tan> for Color

source§

fn from(_: Tan) -> Self

Converts to this type from the input type.
source§

impl From<Tan> for Color

source§

fn from(_: Tan) -> Self

Converts to this type from the input type.
source§

impl From<Teal> for Color

source§

fn from(_: Teal) -> Self

Converts to this type from the input type.
source§

impl From<Teal> for Color

source§

fn from(_: Teal) -> Self

Converts to this type from the input type.
source§

impl From<Thistle> for Color

source§

fn from(_: Thistle) -> Self

Converts to this type from the input type.
source§

impl From<Thistle1> for Color

source§

fn from(_: Thistle1) -> Self

Converts to this type from the input type.
source§

impl From<Thistle3> for Color

source§

fn from(_: Thistle3) -> Self

Converts to this type from the input type.
source§

impl From<Tomato> for Color

source§

fn from(_: Tomato) -> Self

Converts to this type from the input type.
source§

impl From<Turquoise> for Color

source§

fn from(_: Turquoise) -> Self

Converts to this type from the input type.
source§

impl From<Turquoise2> for Color

source§

fn from(_: Turquoise2) -> Self

Converts to this type from the input type.
source§

impl From<Turquoise4> for Color

source§

fn from(_: Turquoise4) -> Self

Converts to this type from the input type.
source§

impl From<Violet> for Color

source§

fn from(_: Violet) -> Self

Converts to this type from the input type.
source§

impl From<Violet> for Color

source§

fn from(_: Violet) -> Self

Converts to this type from the input type.
source§

impl From<VioletRed> for Color

source§

fn from(_: VioletRed) -> Self

Converts to this type from the input type.
source§

impl From<VioletRed1> for Color

source§

fn from(_: VioletRed1) -> Self

Converts to this type from the input type.
source§

impl From<Wheat> for Color

source§

fn from(_: Wheat) -> Self

Converts to this type from the input type.
source§

impl From<Wheat1> for Color

source§

fn from(_: Wheat1) -> Self

Converts to this type from the input type.
source§

impl From<Wheat4> for Color

source§

fn from(_: Wheat4) -> Self

Converts to this type from the input type.
source§

impl From<White> for Color

source§

fn from(_: White) -> Self

Converts to this type from the input type.
source§

impl From<White> for Color

source§

fn from(_: White) -> Self

Converts to this type from the input type.
source§

impl From<White> for Color

source§

fn from(_: White) -> Self

Converts to this type from the input type.
source§

impl From<WhiteSmoke> for Color

source§

fn from(_: WhiteSmoke) -> Self

Converts to this type from the input type.
source§

impl From<XtermColor> for Color

source§

fn from(color: XtermColor) -> Self

Converts to this type from the input type.
source§

impl From<Yellow> for Color

source§

fn from(_: Yellow) -> Self

Converts to this type from the input type.
source§

impl From<Yellow> for Color

source§

fn from(_: Yellow) -> Self

Converts to this type from the input type.
source§

impl From<Yellow> for Color

source§

fn from(_: Yellow) -> Self

Converts to this type from the input type.
source§

impl From<Yellow1> for Color

source§

fn from(_: Yellow1) -> Self

Converts to this type from the input type.
source§

impl From<Yellow2> for Color

source§

fn from(_: Yellow2) -> Self

Converts to this type from the input type.
source§

impl From<Yellow3> for Color

source§

fn from(_: Yellow3) -> Self

Converts to this type from the input type.
source§

impl From<Yellow4> for Color

source§

fn from(_: Yellow4) -> Self

Converts to this type from the input type.
source§

impl From<YellowGreen> for Color

source§

fn from(_: YellowGreen) -> Self

Converts to this type from the input type.
source§

impl From<YellowGreen> for Color

source§

fn from(_: YellowGreen) -> Self

Converts to this type from the input type.
source§

impl FromStr for Color

§

type Err = ParseColorError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Color

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<Color> for Color

source§

fn eq(&self, other: &Color) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl WriteColor for Color

source§

fn color_kind(self) -> ColorKind

The color kind of this Color Read more
source§

fn fmt_foreground_args(self, f: &mut Formatter<'_>) -> Result

write the foreground color arguments
source§

fn fmt_background_args(self, f: &mut Formatter<'_>) -> Result

write the background color arguments
source§

fn fmt_underline_args(self, f: &mut Formatter<'_>) -> Result

write the underline color arguments
source§

fn fmt_foreground(self, f: &mut Formatter<'_>) -> Result

write the foreground color sequence
source§

fn fmt_background(self, f: &mut Formatter<'_>) -> Result

write the background color sequence
source§

fn fmt_underline(self, f: &mut Formatter<'_>) -> Result

write the underline color sequence
source§

impl Copy for Color

source§

impl Eq for Color

source§

impl StructuralEq for Color

source§

impl StructuralPartialEq for Color

Auto Trait Implementations§

§

impl RefUnwindSafe for Color

§

impl Send for Color

§

impl Sync for Color

§

impl Unpin for Color

§

impl UnwindSafe for Color

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> Colorize for Twhere T: ?Sized,

source§

fn into_style(self) -> StyledValue<Self>where Self: Sized,

Convert a value to a StyledValue
source§

fn style(&self) -> StyledValue<&Self>

Convert a value to a StyledValue
source§

fn into_style_with<F, B, U>( self, style: Style<F, B, U> ) -> StyledValue<Self, F, B, U>where Self: Sized,

Convert a value to a StyledValue and applies the given style
source§

fn style_with<F, B, U>( &self, style: Style<F, B, U> ) -> StyledValue<&Self, F, B, U>

Convert a value to a StyledValue and applies the given style
source§

fn fg<C>(&self, color: C) -> StyledValue<&Self, C>

Changes the foreground color
source§

fn into_fg<C>(self, color: C) -> StyledValue<Self, C>where Self: Sized,

Changes the foreground color
source§

fn bg<C>(&self, color: C) -> StyledValue<&Self, NoColor, C>

Changes the background color
source§

fn into_bg<C>(self, color: C) -> StyledValue<Self, NoColor, C>where Self: Sized,

Changes the background color
source§

fn underline_color<C>( &self, color: C ) -> StyledValue<&Self, NoColor, NoColor, C>

Changes the underline color
source§

fn into_underline_color<C>( self, color: C ) -> StyledValue<Self, NoColor, NoColor, C>where Self: Sized,

Changes the underline color
source§

fn black(&self) -> StyledValue<&Self, Black>

Changes the foreground to black
source§

fn red(&self) -> StyledValue<&Self, Red>

Changes the foreground to red
source§

fn green(&self) -> StyledValue<&Self, Green>

Changes the foreground to green
source§

fn yellow(&self) -> StyledValue<&Self, Yellow>

Changes the foreground to yellow
source§

fn blue(&self) -> StyledValue<&Self, Blue>

Changes the foreground to blue
source§

fn magenta(&self) -> StyledValue<&Self, Magenta>

Changes the foreground to magenta
source§

fn cyan(&self) -> StyledValue<&Self, Cyan>

Changes the foreground to cyan
source§

fn white(&self) -> StyledValue<&Self, White>

Changes the foreground to white
source§

fn bright_black(&self) -> StyledValue<&Self, BrightBlack>

Changes the foreground to bright black
source§

fn bright_red(&self) -> StyledValue<&Self, BrightRed>

Changes the foreground to bright red
source§

fn bright_green(&self) -> StyledValue<&Self, BrightGreen>

Changes the foreground to bright green
source§

fn bright_yellow(&self) -> StyledValue<&Self, BrightYellow>

Changes the foreground to bright yellow
source§

fn bright_blue(&self) -> StyledValue<&Self, BrightBlue>

Changes the foreground to bright blue
source§

fn bright_magenta(&self) -> StyledValue<&Self, BrightMagenta>

Changes the foreground to bright magenta
source§

fn bright_cyan(&self) -> StyledValue<&Self, BrightCyan>

Changes the foreground to bright cyan
source§

fn bright_white(&self) -> StyledValue<&Self, BrightWhite>

Changes the foreground to bright white
source§

fn on_black(&self) -> StyledValue<&Self, NoColor, Black>

Changes the background to black
source§

fn on_red(&self) -> StyledValue<&Self, NoColor, Red>

Changes the background to red
source§

fn on_green(&self) -> StyledValue<&Self, NoColor, Green>

Changes the background to green
source§

fn on_yellow(&self) -> StyledValue<&Self, NoColor, Yellow>

Changes the background to yellow
source§

fn on_blue(&self) -> StyledValue<&Self, NoColor, Blue>

Changes the background to blue
source§

fn on_magenta(&self) -> StyledValue<&Self, NoColor, Magenta>

Changes the background to magenta
source§

fn on_cyan(&self) -> StyledValue<&Self, NoColor, Cyan>

Changes the background to cyan
source§

fn on_white(&self) -> StyledValue<&Self, NoColor, White>

Changes the background to white
source§

fn on_bright_black(&self) -> StyledValue<&Self, NoColor, BrightBlack>

Changes the background to bright black
source§

fn on_bright_red(&self) -> StyledValue<&Self, NoColor, BrightRed>

Changes the background to bright red
source§

fn on_bright_green(&self) -> StyledValue<&Self, NoColor, BrightGreen>

Changes the background to bright green
source§

fn on_bright_yellow(&self) -> StyledValue<&Self, NoColor, BrightYellow>

Changes the background to bright yellow
source§

fn on_bright_blue(&self) -> StyledValue<&Self, NoColor, BrightBlue>

Changes the background to bright blue
source§

fn on_bright_magenta(&self) -> StyledValue<&Self, NoColor, BrightMagenta>

Changes the background to bright magenta
source§

fn on_bright_cyan(&self) -> StyledValue<&Self, NoColor, BrightCyan>

Changes the background to bright cyan
source§

fn on_bright_white(&self) -> StyledValue<&Self, NoColor, BrightWhite>

Changes the background to bright white
source§

fn into_black(self) -> StyledValue<Self, Black>where Self: Sized,

Changes the foreground to black
source§

fn into_red(self) -> StyledValue<Self, Red>where Self: Sized,

Changes the foreground to red
source§

fn into_green(self) -> StyledValue<Self, Green>where Self: Sized,

Changes the foreground to green
source§

fn into_yellow(self) -> StyledValue<Self, Yellow>where Self: Sized,

Changes the foreground to yellow
source§

fn into_blue(self) -> StyledValue<Self, Blue>where Self: Sized,

Changes the foreground to blue
source§

fn into_magenta(self) -> StyledValue<Self, Magenta>where Self: Sized,

Changes the foreground to magenta
source§

fn into_cyan(self) -> StyledValue<Self, Cyan>where Self: Sized,

Changes the foreground to cyan
source§

fn into_white(self) -> StyledValue<Self, White>where Self: Sized,

Changes the foreground to white
source§

fn into_bright_black(self) -> StyledValue<Self, BrightBlack>where Self: Sized,

Changes the foreground to bright black
source§

fn into_bright_red(self) -> StyledValue<Self, BrightRed>where Self: Sized,

Changes the foreground to bright red
source§

fn into_bright_green(self) -> StyledValue<Self, BrightGreen>where Self: Sized,

Changes the foreground to bright green
source§

fn into_bright_yellow(self) -> StyledValue<Self, BrightYellow>where Self: Sized,

Changes the foreground to bright yellow
source§

fn into_bright_blue(self) -> StyledValue<Self, BrightBlue>where Self: Sized,

Changes the foreground to bright blue
source§

fn into_bright_magenta(self) -> StyledValue<Self, BrightMagenta>where Self: Sized,

Changes the foreground to bright magenta
source§

fn into_bright_cyan(self) -> StyledValue<Self, BrightCyan>where Self: Sized,

Changes the foreground to bright cyan
source§

fn into_bright_white(self) -> StyledValue<Self, BrightWhite>where Self: Sized,

Changes the foreground to bright white
source§

fn into_on_black(self) -> StyledValue<Self, NoColor, Black>where Self: Sized,

Changes the background to black
source§

fn into_on_red(self) -> StyledValue<Self, NoColor, Red>where Self: Sized,

Changes the background to red
source§

fn into_on_green(self) -> StyledValue<Self, NoColor, Green>where Self: Sized,

Changes the background to green
source§

fn into_on_yellow(self) -> StyledValue<Self, NoColor, Yellow>where Self: Sized,

Changes the background to yellow
source§

fn into_on_blue(self) -> StyledValue<Self, NoColor, Blue>where Self: Sized,

Changes the background to blue
source§

fn into_on_magenta(self) -> StyledValue<Self, NoColor, Magenta>where Self: Sized,

Changes the background to magenta
source§

fn into_on_cyan(self) -> StyledValue<Self, NoColor, Cyan>where Self: Sized,

Changes the background to cyan
source§

fn into_on_white(self) -> StyledValue<Self, NoColor, White>where Self: Sized,

Changes the background to white
source§

fn into_on_bright_black(self) -> StyledValue<Self, NoColor, BrightBlack>where Self: Sized,

Changes the background to bright black
source§

fn into_on_bright_red(self) -> StyledValue<Self, NoColor, BrightRed>where Self: Sized,

Changes the background to bright red
source§

fn into_on_bright_green(self) -> StyledValue<Self, NoColor, BrightGreen>where Self: Sized,

Changes the background to bright green
source§

fn into_on_bright_yellow(self) -> StyledValue<Self, NoColor, BrightYellow>where Self: Sized,

Changes the background to bright yellow
source§

fn into_on_bright_blue(self) -> StyledValue<Self, NoColor, BrightBlue>where Self: Sized,

Changes the background to bright blue
source§

fn into_on_bright_magenta(self) -> StyledValue<Self, NoColor, BrightMagenta>where Self: Sized,

Changes the background to bright magenta
source§

fn into_on_bright_cyan(self) -> StyledValue<Self, NoColor, BrightCyan>where Self: Sized,

Changes the background to bright cyan
source§

fn into_on_bright_white(self) -> StyledValue<Self, NoColor, BrightWhite>where Self: Sized,

Changes the background to bright white
source§

fn bold(&self) -> StyledValue<&Self>

Applies the bold effect
source§

fn dimmed(&self) -> StyledValue<&Self>

Applies the dimmed effect
source§

fn italics(&self) -> StyledValue<&Self>

Applies the italics effect
source§

fn underline(&self) -> StyledValue<&Self>

Applies the underline effect
source§

fn double_underline(&self) -> StyledValue<&Self>

Applies the double underline effect
Applies the blink effect
Applies the blink fast effect
source§

fn reverse(&self) -> StyledValue<&Self>

Applies the reverse effect
source§

fn hide(&self) -> StyledValue<&Self>

Applies the hide effect
source§

fn strikethrough(&self) -> StyledValue<&Self>

Applies the strikethrough effect
source§

fn overline(&self) -> StyledValue<&Self>

Applies the overline effect
source§

fn superscript(&self) -> StyledValue<&Self>

Applies the superscript effect
source§

fn subscript(&self) -> StyledValue<&Self>

Applies the subscript effect
source§

fn into_bold(self) -> StyledValue<Self>where Self: Sized,

Applies the bold effect
source§

fn into_dimmed(self) -> StyledValue<Self>where Self: Sized,

Applies the dimmed effect
source§

fn into_italics(self) -> StyledValue<Self>where Self: Sized,

Applies the italics effect
source§

fn into_underline(self) -> StyledValue<Self>where Self: Sized,

Applies the underline effect
source§

fn into_double_underline(self) -> StyledValue<Self>where Self: Sized,

Applies the double underline effect
Applies the blink effect
Applies the blink fast effect
source§

fn into_reverse(self) -> StyledValue<Self>where Self: Sized,

Applies the reverse effect
source§

fn into_hide(self) -> StyledValue<Self>where Self: Sized,

Applies the hide effect
source§

fn into_strikethrough(self) -> StyledValue<Self>where Self: Sized,

Applies the strikethrough effect
source§

fn into_overline(self) -> StyledValue<Self>where Self: Sized,

Applies the overline effect
source§

fn into_superscript(self) -> StyledValue<Self>where Self: Sized,

Applies the superscript effect
source§

fn into_subscript(self) -> StyledValue<Self>where Self: Sized,

Applies the subscript effect
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<C> OptionalColor for Cwhere C: WriteColor,

§

type Color = C

The color type
source§

const KIND: Kind =

source§

fn get(self) -> Option<<C as OptionalColor>::Color>

Get the color value
source§

fn color_kind(self) -> ColorKind

Get the color value
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.