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 From<AntiqueWhite> for Color
impl From<AntiqueWhite> for Color
source§fn from(_: AntiqueWhite) -> Self
fn from(_: AntiqueWhite) -> Self
Converts to this type from the input type.
source§impl From<Aquamarine> for Color
impl From<Aquamarine> for Color
source§fn from(_: Aquamarine) -> Self
fn from(_: Aquamarine) -> Self
Converts to this type from the input type.
source§impl From<Aquamarine> for Color
impl From<Aquamarine> for Color
source§fn from(_: Aquamarine) -> Self
fn from(_: Aquamarine) -> Self
Converts to this type from the input type.
source§impl From<Aquamarine1> for Color
impl From<Aquamarine1> for Color
source§fn from(_: Aquamarine1) -> Self
fn from(_: Aquamarine1) -> Self
Converts to this type from the input type.
source§impl From<BlanchedAlmond> for Color
impl From<BlanchedAlmond> for Color
source§fn from(_: BlanchedAlmond) -> Self
fn from(_: BlanchedAlmond) -> Self
Converts to this type from the input type.
source§impl From<BlueViolet> for Color
impl From<BlueViolet> for Color
source§fn from(_: BlueViolet) -> Self
fn from(_: BlueViolet) -> Self
Converts to this type from the input type.
source§impl From<BlueViolet> for Color
impl From<BlueViolet> for Color
source§fn from(_: BlueViolet) -> Self
fn from(_: BlueViolet) -> Self
Converts to this type from the input type.
source§impl From<BrightBlack> for Color
impl From<BrightBlack> for Color
source§fn from(_: BrightBlack) -> Self
fn from(_: BrightBlack) -> Self
Converts to this type from the input type.
source§impl From<BrightBlack> for Color
impl From<BrightBlack> for Color
source§fn from(_: BrightBlack) -> Self
fn from(_: BrightBlack) -> Self
Converts to this type from the input type.
source§impl From<BrightBlue> for Color
impl From<BrightBlue> for Color
source§fn from(_: BrightBlue) -> Self
fn from(_: BrightBlue) -> Self
Converts to this type from the input type.
source§impl From<BrightBlue> for Color
impl From<BrightBlue> for Color
source§fn from(_: BrightBlue) -> Self
fn from(_: BrightBlue) -> Self
Converts to this type from the input type.
source§impl From<BrightCyan> for Color
impl From<BrightCyan> for Color
source§fn from(_: BrightCyan) -> Self
fn from(_: BrightCyan) -> Self
Converts to this type from the input type.
source§impl From<BrightCyan> for Color
impl From<BrightCyan> for Color
source§fn from(_: BrightCyan) -> Self
fn from(_: BrightCyan) -> Self
Converts to this type from the input type.
source§impl From<BrightGreen> for Color
impl From<BrightGreen> for Color
source§fn from(_: BrightGreen) -> Self
fn from(_: BrightGreen) -> Self
Converts to this type from the input type.
source§impl From<BrightGreen> for Color
impl From<BrightGreen> for Color
source§fn from(_: BrightGreen) -> Self
fn from(_: BrightGreen) -> Self
Converts to this type from the input type.
source§impl From<BrightMagenta> for Color
impl From<BrightMagenta> for Color
source§fn from(_: BrightMagenta) -> Self
fn from(_: BrightMagenta) -> Self
Converts to this type from the input type.
source§impl From<BrightMagenta> for Color
impl From<BrightMagenta> for Color
source§fn from(_: BrightMagenta) -> Self
fn from(_: BrightMagenta) -> Self
Converts to this type from the input type.
source§impl From<BrightWhite> for Color
impl From<BrightWhite> for Color
source§fn from(_: BrightWhite) -> Self
fn from(_: BrightWhite) -> Self
Converts to this type from the input type.
source§impl From<BrightWhite> for Color
impl From<BrightWhite> for Color
source§fn from(_: BrightWhite) -> Self
fn from(_: BrightWhite) -> Self
Converts to this type from the input type.
source§impl From<BrightYellow> for Color
impl From<BrightYellow> for Color
source§fn from(_: BrightYellow) -> Self
fn from(_: BrightYellow) -> Self
Converts to this type from the input type.
source§impl From<BrightYellow> for Color
impl From<BrightYellow> for Color
source§fn from(_: BrightYellow) -> Self
fn from(_: BrightYellow) -> Self
Converts to this type from the input type.
source§impl From<Chartreuse> for Color
impl From<Chartreuse> for Color
source§fn from(_: Chartreuse) -> Self
fn from(_: Chartreuse) -> Self
Converts to this type from the input type.
source§impl From<Chartreuse> for Color
impl From<Chartreuse> for Color
source§fn from(_: Chartreuse) -> Self
fn from(_: Chartreuse) -> Self
Converts to this type from the input type.
source§impl From<Chartreuse2> for Color
impl From<Chartreuse2> for Color
source§fn from(_: Chartreuse2) -> Self
fn from(_: Chartreuse2) -> Self
Converts to this type from the input type.
source§impl From<Chartreuse3> for Color
impl From<Chartreuse3> for Color
source§fn from(_: Chartreuse3) -> Self
fn from(_: Chartreuse3) -> Self
Converts to this type from the input type.
source§impl From<Chartreuse4> for Color
impl From<Chartreuse4> for Color
source§fn from(_: Chartreuse4) -> Self
fn from(_: Chartreuse4) -> Self
Converts to this type from the input type.
source§impl From<CornflowerBlue> for Color
impl From<CornflowerBlue> for Color
source§fn from(_: CornflowerBlue) -> Self
fn from(_: CornflowerBlue) -> Self
Converts to this type from the input type.
source§impl From<CornflowerBlue> for Color
impl From<CornflowerBlue> for Color
source§fn from(_: CornflowerBlue) -> Self
fn from(_: CornflowerBlue) -> Self
Converts to this type from the input type.
source§impl From<DarkGoldenRod> for Color
impl From<DarkGoldenRod> for Color
source§fn from(_: DarkGoldenRod) -> Self
fn from(_: DarkGoldenRod) -> Self
Converts to this type from the input type.
source§impl From<DarkGoldenrod> for Color
impl From<DarkGoldenrod> for Color
source§fn from(_: DarkGoldenrod) -> Self
fn from(_: DarkGoldenrod) -> Self
Converts to this type from the input type.
source§impl From<DarkGoldenrod3> for Color
impl From<DarkGoldenrod3> for Color
source§fn from(_: DarkGoldenrod3) -> Self
fn from(_: DarkGoldenrod3) -> Self
Converts to this type from the input type.
source§impl From<DarkGoldenrod4> for Color
impl From<DarkGoldenrod4> for Color
source§fn from(_: DarkGoldenrod4) -> Self
fn from(_: DarkGoldenrod4) -> Self
Converts to this type from the input type.
source§impl From<DarkMagenta> for Color
impl From<DarkMagenta> for Color
source§fn from(_: DarkMagenta) -> Self
fn from(_: DarkMagenta) -> Self
Converts to this type from the input type.
source§impl From<DarkMagenta> for Color
impl From<DarkMagenta> for Color
source§fn from(_: DarkMagenta) -> Self
fn from(_: DarkMagenta) -> Self
Converts to this type from the input type.
source§impl From<DarkOliveGreen> for Color
impl From<DarkOliveGreen> for Color
source§fn from(_: DarkOliveGreen) -> Self
fn from(_: DarkOliveGreen) -> Self
Converts to this type from the input type.
source§impl From<DarkOliveGreen1> for Color
impl From<DarkOliveGreen1> for Color
source§fn from(_: DarkOliveGreen1) -> Self
fn from(_: DarkOliveGreen1) -> Self
Converts to this type from the input type.
source§impl From<DarkOliveGreen2> for Color
impl From<DarkOliveGreen2> for Color
source§fn from(_: DarkOliveGreen2) -> Self
fn from(_: DarkOliveGreen2) -> Self
Converts to this type from the input type.
source§impl From<DarkOliveGreen3> for Color
impl From<DarkOliveGreen3> for Color
source§fn from(_: DarkOliveGreen3) -> Self
fn from(_: DarkOliveGreen3) -> Self
Converts to this type from the input type.
source§impl From<DarkOrange> for Color
impl From<DarkOrange> for Color
source§fn from(_: DarkOrange) -> Self
fn from(_: DarkOrange) -> Self
Converts to this type from the input type.
source§impl From<DarkOrange> for Color
impl From<DarkOrange> for Color
source§fn from(_: DarkOrange) -> Self
fn from(_: DarkOrange) -> Self
Converts to this type from the input type.
source§impl From<DarkOrange3> for Color
impl From<DarkOrange3> for Color
source§fn from(_: DarkOrange3) -> Self
fn from(_: DarkOrange3) -> Self
Converts to this type from the input type.
source§impl From<DarkOrchid> for Color
impl From<DarkOrchid> for Color
source§fn from(_: DarkOrchid) -> Self
fn from(_: DarkOrchid) -> Self
Converts to this type from the input type.
source§impl From<DarkOrchid1> for Color
impl From<DarkOrchid1> for Color
source§fn from(_: DarkOrchid1) -> Self
fn from(_: DarkOrchid1) -> Self
Converts to this type from the input type.
source§impl From<DarkOrchid3> for Color
impl From<DarkOrchid3> for Color
source§fn from(_: DarkOrchid3) -> Self
fn from(_: DarkOrchid3) -> Self
Converts to this type from the input type.
source§impl From<DarkOrchid4> for Color
impl From<DarkOrchid4> for Color
source§fn from(_: DarkOrchid4) -> Self
fn from(_: DarkOrchid4) -> Self
Converts to this type from the input type.
source§impl From<DarkSalmon> for Color
impl From<DarkSalmon> for Color
source§fn from(_: DarkSalmon) -> Self
fn from(_: DarkSalmon) -> Self
Converts to this type from the input type.
source§impl From<DarkSeaGreen> for Color
impl From<DarkSeaGreen> for Color
source§fn from(_: DarkSeaGreen) -> Self
fn from(_: DarkSeaGreen) -> Self
Converts to this type from the input type.
source§impl From<DarkSeaGreen> for Color
impl From<DarkSeaGreen> for Color
source§fn from(_: DarkSeaGreen) -> Self
fn from(_: DarkSeaGreen) -> Self
Converts to this type from the input type.
source§impl From<DarkSeaGreen1> for Color
impl From<DarkSeaGreen1> for Color
source§fn from(_: DarkSeaGreen1) -> Self
fn from(_: DarkSeaGreen1) -> Self
Converts to this type from the input type.
source§impl From<DarkSeaGreen2> for Color
impl From<DarkSeaGreen2> for Color
source§fn from(_: DarkSeaGreen2) -> Self
fn from(_: DarkSeaGreen2) -> Self
Converts to this type from the input type.
source§impl From<DarkSeaGreen3> for Color
impl From<DarkSeaGreen3> for Color
source§fn from(_: DarkSeaGreen3) -> Self
fn from(_: DarkSeaGreen3) -> Self
Converts to this type from the input type.
source§impl From<DarkSeaGreen4> for Color
impl From<DarkSeaGreen4> for Color
source§fn from(_: DarkSeaGreen4) -> Self
fn from(_: DarkSeaGreen4) -> Self
Converts to this type from the input type.
source§impl From<DarkSlateBlue> for Color
impl From<DarkSlateBlue> for Color
source§fn from(_: DarkSlateBlue) -> Self
fn from(_: DarkSlateBlue) -> Self
Converts to this type from the input type.
source§impl From<DarkSlateGray> for Color
impl From<DarkSlateGray> for Color
source§fn from(_: DarkSlateGray) -> Self
fn from(_: DarkSlateGray) -> Self
Converts to this type from the input type.
source§impl From<DarkSlateGray1> for Color
impl From<DarkSlateGray1> for Color
source§fn from(_: DarkSlateGray1) -> Self
fn from(_: DarkSlateGray1) -> Self
Converts to this type from the input type.
source§impl From<DarkSlateGray2> for Color
impl From<DarkSlateGray2> for Color
source§fn from(_: DarkSlateGray2) -> Self
fn from(_: DarkSlateGray2) -> Self
Converts to this type from the input type.
source§impl From<DarkSlateGray3> for Color
impl From<DarkSlateGray3> for Color
source§fn from(_: DarkSlateGray3) -> Self
fn from(_: DarkSlateGray3) -> Self
Converts to this type from the input type.
source§impl From<DarkSlateGray4> for Color
impl From<DarkSlateGray4> for Color
source§fn from(_: DarkSlateGray4) -> Self
fn from(_: DarkSlateGray4) -> Self
Converts to this type from the input type.
source§impl From<DarkSlateGrey> for Color
impl From<DarkSlateGrey> for Color
source§fn from(_: DarkSlateGrey) -> Self
fn from(_: DarkSlateGrey) -> Self
Converts to this type from the input type.
source§impl From<DarkTurquoise> for Color
impl From<DarkTurquoise> for Color
source§fn from(_: DarkTurquoise) -> Self
fn from(_: DarkTurquoise) -> Self
Converts to this type from the input type.
source§impl From<DarkTurquoise> for Color
impl From<DarkTurquoise> for Color
source§fn from(_: DarkTurquoise) -> Self
fn from(_: DarkTurquoise) -> Self
Converts to this type from the input type.
source§impl From<DarkViolet> for Color
impl From<DarkViolet> for Color
source§fn from(_: DarkViolet) -> Self
fn from(_: DarkViolet) -> Self
Converts to this type from the input type.
source§impl From<DarkViolet> for Color
impl From<DarkViolet> for Color
source§fn from(_: DarkViolet) -> Self
fn from(_: DarkViolet) -> Self
Converts to this type from the input type.
source§impl From<DeepSkyBlue> for Color
impl From<DeepSkyBlue> for Color
source§fn from(_: DeepSkyBlue) -> Self
fn from(_: DeepSkyBlue) -> Self
Converts to this type from the input type.
source§impl From<DeepSkyBlue> for Color
impl From<DeepSkyBlue> for Color
source§fn from(_: DeepSkyBlue) -> Self
fn from(_: DeepSkyBlue) -> Self
Converts to this type from the input type.
source§impl From<DeepSkyBlue2> for Color
impl From<DeepSkyBlue2> for Color
source§fn from(_: DeepSkyBlue2) -> Self
fn from(_: DeepSkyBlue2) -> Self
Converts to this type from the input type.
source§impl From<DeepSkyBlue3> for Color
impl From<DeepSkyBlue3> for Color
source§fn from(_: DeepSkyBlue3) -> Self
fn from(_: DeepSkyBlue3) -> Self
Converts to this type from the input type.
source§impl From<DeepSkyBlue4> for Color
impl From<DeepSkyBlue4> for Color
source§fn from(_: DeepSkyBlue4) -> Self
fn from(_: DeepSkyBlue4) -> Self
Converts to this type from the input type.
source§impl From<DodgerBlue> for Color
impl From<DodgerBlue> for Color
source§fn from(_: DodgerBlue) -> Self
fn from(_: DodgerBlue) -> Self
Converts to this type from the input type.
source§impl From<DodgerBlue> for Color
impl From<DodgerBlue> for Color
source§fn from(_: DodgerBlue) -> Self
fn from(_: DodgerBlue) -> Self
Converts to this type from the input type.
source§impl From<DodgerBlue2> for Color
impl From<DodgerBlue2> for Color
source§fn from(_: DodgerBlue2) -> Self
fn from(_: DodgerBlue2) -> Self
Converts to this type from the input type.
source§impl From<DodgerBlue3> for Color
impl From<DodgerBlue3> for Color
source§fn from(_: DodgerBlue3) -> Self
fn from(_: DodgerBlue3) -> Self
Converts to this type from the input type.
source§impl From<DodgerBlue4> for Color
impl From<DodgerBlue4> for Color
source§fn from(_: DodgerBlue4) -> Self
fn from(_: DodgerBlue4) -> Self
Converts to this type from the input type.
source§impl From<Firebrick4> for Color
impl From<Firebrick4> for Color
source§fn from(_: Firebrick4) -> Self
fn from(_: Firebrick4) -> Self
Converts to this type from the input type.
source§impl From<FloralWhite> for Color
impl From<FloralWhite> for Color
source§fn from(_: FloralWhite) -> Self
fn from(_: FloralWhite) -> Self
Converts to this type from the input type.
source§impl From<ForestGreen> for Color
impl From<ForestGreen> for Color
source§fn from(_: ForestGreen) -> Self
fn from(_: ForestGreen) -> Self
Converts to this type from the input type.
source§impl From<ForestGreen> for Color
impl From<ForestGreen> for Color
source§fn from(_: ForestGreen) -> Self
fn from(_: ForestGreen) -> Self
Converts to this type from the input type.
source§impl From<GhostWhite> for Color
impl From<GhostWhite> for Color
source§fn from(_: GhostWhite) -> Self
fn from(_: GhostWhite) -> Self
Converts to this type from the input type.
source§impl From<GreenYellow> for Color
impl From<GreenYellow> for Color
source§fn from(_: GreenYellow) -> Self
fn from(_: GreenYellow) -> Self
Converts to this type from the input type.
source§impl From<GreenYellow> for Color
impl From<GreenYellow> for Color
source§fn from(_: GreenYellow) -> Self
fn from(_: GreenYellow) -> Self
Converts to this type from the input type.
source§impl From<IndianRed1> for Color
impl From<IndianRed1> for Color
source§fn from(_: IndianRed1) -> Self
fn from(_: IndianRed1) -> Self
Converts to this type from the input type.
source§impl From<IndianRed3> for Color
impl From<IndianRed3> for Color
source§fn from(_: IndianRed3) -> Self
fn from(_: IndianRed3) -> Self
Converts to this type from the input type.
source§impl From<LavenderBlush> for Color
impl From<LavenderBlush> for Color
source§fn from(_: LavenderBlush) -> Self
fn from(_: LavenderBlush) -> Self
Converts to this type from the input type.
source§impl From<LemonChiffon> for Color
impl From<LemonChiffon> for Color
source§fn from(_: LemonChiffon) -> Self
fn from(_: LemonChiffon) -> Self
Converts to this type from the input type.
source§impl From<LemonChiffon4> for Color
impl From<LemonChiffon4> for Color
source§fn from(_: LemonChiffon4) -> Self
fn from(_: LemonChiffon4) -> Self
Converts to this type from the input type.
source§impl From<LightCoral> for Color
impl From<LightCoral> for Color
source§fn from(_: LightCoral) -> Self
fn from(_: LightCoral) -> Self
Converts to this type from the input type.
source§impl From<LightCoral> for Color
impl From<LightCoral> for Color
source§fn from(_: LightCoral) -> Self
fn from(_: LightCoral) -> Self
Converts to this type from the input type.
source§impl From<LightCyan3> for Color
impl From<LightCyan3> for Color
source§fn from(_: LightCyan3) -> Self
fn from(_: LightCyan3) -> Self
Converts to this type from the input type.
source§impl From<LightGoldenRodYellow> for Color
impl From<LightGoldenRodYellow> for Color
source§fn from(_: LightGoldenRodYellow) -> Self
fn from(_: LightGoldenRodYellow) -> Self
Converts to this type from the input type.
source§impl From<LightGoldenrod> for Color
impl From<LightGoldenrod> for Color
source§fn from(_: LightGoldenrod) -> Self
fn from(_: LightGoldenrod) -> Self
Converts to this type from the input type.
source§impl From<LightGoldenrod1> for Color
impl From<LightGoldenrod1> for Color
source§fn from(_: LightGoldenrod1) -> Self
fn from(_: LightGoldenrod1) -> Self
Converts to this type from the input type.
source§impl From<LightGoldenrod2> for Color
impl From<LightGoldenrod2> for Color
source§fn from(_: LightGoldenrod2) -> Self
fn from(_: LightGoldenrod2) -> Self
Converts to this type from the input type.
source§impl From<LightGoldenrod3> for Color
impl From<LightGoldenrod3> for Color
source§fn from(_: LightGoldenrod3) -> Self
fn from(_: LightGoldenrod3) -> Self
Converts to this type from the input type.
source§impl From<LightGreen> for Color
impl From<LightGreen> for Color
source§fn from(_: LightGreen) -> Self
fn from(_: LightGreen) -> Self
Converts to this type from the input type.
source§impl From<LightGreen> for Color
impl From<LightGreen> for Color
source§fn from(_: LightGreen) -> Self
fn from(_: LightGreen) -> Self
Converts to this type from the input type.
source§impl From<LightPink1> for Color
impl From<LightPink1> for Color
source§fn from(_: LightPink1) -> Self
fn from(_: LightPink1) -> Self
Converts to this type from the input type.
source§impl From<LightPink3> for Color
impl From<LightPink3> for Color
source§fn from(_: LightPink3) -> Self
fn from(_: LightPink3) -> Self
Converts to this type from the input type.
source§impl From<LightPink4> for Color
impl From<LightPink4> for Color
source§fn from(_: LightPink4) -> Self
fn from(_: LightPink4) -> Self
Converts to this type from the input type.
source§impl From<LightSalmon> for Color
impl From<LightSalmon> for Color
source§fn from(_: LightSalmon) -> Self
fn from(_: LightSalmon) -> Self
Converts to this type from the input type.
source§impl From<LightSalmon> for Color
impl From<LightSalmon> for Color
source§fn from(_: LightSalmon) -> Self
fn from(_: LightSalmon) -> Self
Converts to this type from the input type.
source§impl From<LightSalmon3> for Color
impl From<LightSalmon3> for Color
source§fn from(_: LightSalmon3) -> Self
fn from(_: LightSalmon3) -> Self
Converts to this type from the input type.
source§impl From<LightSeaGreen> for Color
impl From<LightSeaGreen> for Color
source§fn from(_: LightSeaGreen) -> Self
fn from(_: LightSeaGreen) -> Self
Converts to this type from the input type.
source§impl From<LightSeaGreen> for Color
impl From<LightSeaGreen> for Color
source§fn from(_: LightSeaGreen) -> Self
fn from(_: LightSeaGreen) -> Self
Converts to this type from the input type.
source§impl From<LightSkyBlue> for Color
impl From<LightSkyBlue> for Color
source§fn from(_: LightSkyBlue) -> Self
fn from(_: LightSkyBlue) -> Self
Converts to this type from the input type.
source§impl From<LightSkyBlue> for Color
impl From<LightSkyBlue> for Color
source§fn from(_: LightSkyBlue) -> Self
fn from(_: LightSkyBlue) -> Self
Converts to this type from the input type.
source§impl From<LightSkyBlue1> for Color
impl From<LightSkyBlue1> for Color
source§fn from(_: LightSkyBlue1) -> Self
fn from(_: LightSkyBlue1) -> Self
Converts to this type from the input type.
source§impl From<LightSkyBlue3> for Color
impl From<LightSkyBlue3> for Color
source§fn from(_: LightSkyBlue3) -> Self
fn from(_: LightSkyBlue3) -> Self
Converts to this type from the input type.
source§impl From<LightSlateBlue> for Color
impl From<LightSlateBlue> for Color
source§fn from(_: LightSlateBlue) -> Self
fn from(_: LightSlateBlue) -> Self
Converts to this type from the input type.
source§impl From<LightSlateGray> for Color
impl From<LightSlateGray> for Color
source§fn from(_: LightSlateGray) -> Self
fn from(_: LightSlateGray) -> Self
Converts to this type from the input type.
source§impl From<LightSlateGray> for Color
impl From<LightSlateGray> for Color
source§fn from(_: LightSlateGray) -> Self
fn from(_: LightSlateGray) -> Self
Converts to this type from the input type.
source§impl From<LightSlateGrey> for Color
impl From<LightSlateGrey> for Color
source§fn from(_: LightSlateGrey) -> Self
fn from(_: LightSlateGrey) -> Self
Converts to this type from the input type.
source§impl From<LightSteelBlue> for Color
impl From<LightSteelBlue> for Color
source§fn from(_: LightSteelBlue) -> Self
fn from(_: LightSteelBlue) -> Self
Converts to this type from the input type.
source§impl From<LightSteelBlue> for Color
impl From<LightSteelBlue> for Color
source§fn from(_: LightSteelBlue) -> Self
fn from(_: LightSteelBlue) -> Self
Converts to this type from the input type.
source§impl From<LightSteelBlue1> for Color
impl From<LightSteelBlue1> for Color
source§fn from(_: LightSteelBlue1) -> Self
fn from(_: LightSteelBlue1) -> Self
Converts to this type from the input type.
source§impl From<LightSteelBlue3> for Color
impl From<LightSteelBlue3> for Color
source§fn from(_: LightSteelBlue3) -> Self
fn from(_: LightSteelBlue3) -> Self
Converts to this type from the input type.
source§impl From<LightYellow> for Color
impl From<LightYellow> for Color
source§fn from(_: LightYellow) -> Self
fn from(_: LightYellow) -> Self
Converts to this type from the input type.
source§impl From<LightYellow3> for Color
impl From<LightYellow3> for Color
source§fn from(_: LightYellow3) -> Self
fn from(_: LightYellow3) -> Self
Converts to this type from the input type.
source§impl From<MediumAquaMarine> for Color
impl From<MediumAquaMarine> for Color
source§fn from(_: MediumAquaMarine) -> Self
fn from(_: MediumAquaMarine) -> Self
Converts to this type from the input type.
source§impl From<MediumAquamarine> for Color
impl From<MediumAquamarine> for Color
source§fn from(_: MediumAquamarine) -> Self
fn from(_: MediumAquamarine) -> Self
Converts to this type from the input type.
source§impl From<MediumBlue> for Color
impl From<MediumBlue> for Color
source§fn from(_: MediumBlue) -> Self
fn from(_: MediumBlue) -> Self
Converts to this type from the input type.
source§impl From<MediumBlue> for Color
impl From<MediumBlue> for Color
source§fn from(_: MediumBlue) -> Self
fn from(_: MediumBlue) -> Self
Converts to this type from the input type.
source§impl From<MediumOrchid> for Color
impl From<MediumOrchid> for Color
source§fn from(_: MediumOrchid) -> Self
fn from(_: MediumOrchid) -> Self
Converts to this type from the input type.
source§impl From<MediumOrchid> for Color
impl From<MediumOrchid> for Color
source§fn from(_: MediumOrchid) -> Self
fn from(_: MediumOrchid) -> Self
Converts to this type from the input type.
source§impl From<MediumOrchid1> for Color
impl From<MediumOrchid1> for Color
source§fn from(_: MediumOrchid1) -> Self
fn from(_: MediumOrchid1) -> Self
Converts to this type from the input type.
source§impl From<MediumOrchid2> for Color
impl From<MediumOrchid2> for Color
source§fn from(_: MediumOrchid2) -> Self
fn from(_: MediumOrchid2) -> Self
Converts to this type from the input type.
source§impl From<MediumOrchid3> for Color
impl From<MediumOrchid3> for Color
source§fn from(_: MediumOrchid3) -> Self
fn from(_: MediumOrchid3) -> Self
Converts to this type from the input type.
source§impl From<MediumPurple> for Color
impl From<MediumPurple> for Color
source§fn from(_: MediumPurple) -> Self
fn from(_: MediumPurple) -> Self
Converts to this type from the input type.
source§impl From<MediumPurple> for Color
impl From<MediumPurple> for Color
source§fn from(_: MediumPurple) -> Self
fn from(_: MediumPurple) -> Self
Converts to this type from the input type.
source§impl From<MediumPurple1> for Color
impl From<MediumPurple1> for Color
source§fn from(_: MediumPurple1) -> Self
fn from(_: MediumPurple1) -> Self
Converts to this type from the input type.
source§impl From<MediumPurple2> for Color
impl From<MediumPurple2> for Color
source§fn from(_: MediumPurple2) -> Self
fn from(_: MediumPurple2) -> Self
Converts to this type from the input type.
source§impl From<MediumPurple3> for Color
impl From<MediumPurple3> for Color
source§fn from(_: MediumPurple3) -> Self
fn from(_: MediumPurple3) -> Self
Converts to this type from the input type.
source§impl From<MediumPurple4> for Color
impl From<MediumPurple4> for Color
source§fn from(_: MediumPurple4) -> Self
fn from(_: MediumPurple4) -> Self
Converts to this type from the input type.
source§impl From<MediumSeaGreen> for Color
impl From<MediumSeaGreen> for Color
source§fn from(_: MediumSeaGreen) -> Self
fn from(_: MediumSeaGreen) -> Self
Converts to this type from the input type.
source§impl From<MediumSeaGreen> for Color
impl From<MediumSeaGreen> for Color
source§fn from(_: MediumSeaGreen) -> Self
fn from(_: MediumSeaGreen) -> Self
Converts to this type from the input type.
source§impl From<MediumSlateBlue> for Color
impl From<MediumSlateBlue> for Color
source§fn from(_: MediumSlateBlue) -> Self
fn from(_: MediumSlateBlue) -> Self
Converts to this type from the input type.
source§impl From<MediumSpringGreen> for Color
impl From<MediumSpringGreen> for Color
source§fn from(_: MediumSpringGreen) -> Self
fn from(_: MediumSpringGreen) -> Self
Converts to this type from the input type.
source§impl From<MediumSpringGreen> for Color
impl From<MediumSpringGreen> for Color
source§fn from(_: MediumSpringGreen) -> Self
fn from(_: MediumSpringGreen) -> Self
Converts to this type from the input type.
source§impl From<MediumTurquoise> for Color
impl From<MediumTurquoise> for Color
source§fn from(_: MediumTurquoise) -> Self
fn from(_: MediumTurquoise) -> Self
Converts to this type from the input type.
source§impl From<MediumTurquoise> for Color
impl From<MediumTurquoise> for Color
source§fn from(_: MediumTurquoise) -> Self
fn from(_: MediumTurquoise) -> Self
Converts to this type from the input type.
source§impl From<MediumVioletRed> for Color
impl From<MediumVioletRed> for Color
source§fn from(_: MediumVioletRed) -> Self
fn from(_: MediumVioletRed) -> Self
Converts to this type from the input type.
source§impl From<MediumVioletRed> for Color
impl From<MediumVioletRed> for Color
source§fn from(_: MediumVioletRed) -> Self
fn from(_: MediumVioletRed) -> Self
Converts to this type from the input type.
source§impl From<MidnightBlue> for Color
impl From<MidnightBlue> for Color
source§fn from(_: MidnightBlue) -> Self
fn from(_: MidnightBlue) -> Self
Converts to this type from the input type.
source§impl From<MistyRose3> for Color
impl From<MistyRose3> for Color
source§fn from(_: MistyRose3) -> Self
fn from(_: MistyRose3) -> Self
Converts to this type from the input type.
source§fn from(_: NavajoWhite) -> Self
fn from(_: NavajoWhite) -> Self
Converts to this type from the input type.
source§fn from(_: NavajoWhite) -> Self
fn from(_: NavajoWhite) -> Self
Converts to this type from the input type.
source§fn from(_: NavajoWhite3) -> Self
fn from(_: NavajoWhite3) -> Self
Converts to this type from the input type.
source§fn from(_: NavajoWhite4) -> Self
fn from(_: NavajoWhite4) -> Self
Converts to this type from the input type.
source§impl From<OliveDrab2> for Color
impl From<OliveDrab2> for Color
source§fn from(_: OliveDrab2) -> Self
fn from(_: OliveDrab2) -> Self
Converts to this type from the input type.
source§impl From<OliveDrab3> for Color
impl From<OliveDrab3> for Color
source§fn from(_: OliveDrab3) -> Self
fn from(_: OliveDrab3) -> Self
Converts to this type from the input type.
source§impl From<OliveDrab4> for Color
impl From<OliveDrab4> for Color
source§fn from(_: OliveDrab4) -> Self
fn from(_: OliveDrab4) -> Self
Converts to this type from the input type.
source§impl From<PaleGoldenRod> for Color
impl From<PaleGoldenRod> for Color
source§fn from(_: PaleGoldenRod) -> Self
fn from(_: PaleGoldenRod) -> Self
Converts to this type from the input type.
source§impl From<PaleGoldenrod> for Color
impl From<PaleGoldenrod> for Color
source§fn from(_: PaleGoldenrod) -> Self
fn from(_: PaleGoldenrod) -> Self
Converts to this type from the input type.
source§impl From<PaleGreen1> for Color
impl From<PaleGreen1> for Color
source§fn from(_: PaleGreen1) -> Self
fn from(_: PaleGreen1) -> Self
Converts to this type from the input type.
source§impl From<PaleGreen2> for Color
impl From<PaleGreen2> for Color
source§fn from(_: PaleGreen2) -> Self
fn from(_: PaleGreen2) -> Self
Converts to this type from the input type.
source§impl From<PaleGreen3> for Color
impl From<PaleGreen3> for Color
source§fn from(_: PaleGreen3) -> Self
fn from(_: PaleGreen3) -> Self
Converts to this type from the input type.
source§impl From<PaleGreen4> for Color
impl From<PaleGreen4> for Color
source§fn from(_: PaleGreen4) -> Self
fn from(_: PaleGreen4) -> Self
Converts to this type from the input type.
source§impl From<PaleTurquoise> for Color
impl From<PaleTurquoise> for Color
source§fn from(_: PaleTurquoise) -> Self
fn from(_: PaleTurquoise) -> Self
Converts to this type from the input type.
source§impl From<PaleTurquoise1> for Color
impl From<PaleTurquoise1> for Color
source§fn from(_: PaleTurquoise1) -> Self
fn from(_: PaleTurquoise1) -> Self
Converts to this type from the input type.
source§impl From<PaleTurquoise4> for Color
impl From<PaleTurquoise4> for Color
source§fn from(_: PaleTurquoise4) -> Self
fn from(_: PaleTurquoise4) -> Self
Converts to this type from the input type.
source§impl From<PaleVioletRed> for Color
impl From<PaleVioletRed> for Color
source§fn from(_: PaleVioletRed) -> Self
fn from(_: PaleVioletRed) -> Self
Converts to this type from the input type.
source§impl From<PaleVioletRed1> for Color
impl From<PaleVioletRed1> for Color
source§fn from(_: PaleVioletRed1) -> Self
fn from(_: PaleVioletRed1) -> Self
Converts to this type from the input type.
source§impl From<PaleVioletRed3> for Color
impl From<PaleVioletRed3> for Color
source§fn from(_: PaleVioletRed3) -> Self
fn from(_: PaleVioletRed3) -> Self
Converts to this type from the input type.
source§impl From<PapayaWhip> for Color
impl From<PapayaWhip> for Color
source§fn from(_: PapayaWhip) -> Self
fn from(_: PapayaWhip) -> Self
Converts to this type from the input type.
source§impl From<PowderBlue> for Color
impl From<PowderBlue> for Color
source§fn from(_: PowderBlue) -> Self
fn from(_: PowderBlue) -> Self
Converts to this type from the input type.
source§impl From<RebeccaPurple> for Color
impl From<RebeccaPurple> for Color
source§fn from(_: RebeccaPurple) -> Self
fn from(_: RebeccaPurple) -> Self
Converts to this type from the input type.
source§impl From<RoyalBlue1> for Color
impl From<RoyalBlue1> for Color
source§fn from(_: RoyalBlue1) -> Self
fn from(_: RoyalBlue1) -> Self
Converts to this type from the input type.
source§impl From<SaddleBrown> for Color
impl From<SaddleBrown> for Color
source§fn from(_: SaddleBrown) -> Self
fn from(_: SaddleBrown) -> Self
Converts to this type from the input type.
source§impl From<SandyBrown> for Color
impl From<SandyBrown> for Color
source§fn from(_: SandyBrown) -> Self
fn from(_: SandyBrown) -> Self
Converts to this type from the input type.
source§impl From<SandyBrown> for Color
impl From<SandyBrown> for Color
source§fn from(_: SandyBrown) -> Self
fn from(_: SandyBrown) -> Self
Converts to this type from the input type.
source§impl From<SlateBlue1> for Color
impl From<SlateBlue1> for Color
source§fn from(_: SlateBlue1) -> Self
fn from(_: SlateBlue1) -> Self
Converts to this type from the input type.
source§impl From<SlateBlue3> for Color
impl From<SlateBlue3> for Color
source§fn from(_: SlateBlue3) -> Self
fn from(_: SlateBlue3) -> Self
Converts to this type from the input type.
source§impl From<SpringGreen> for Color
impl From<SpringGreen> for Color
source§fn from(_: SpringGreen) -> Self
fn from(_: SpringGreen) -> Self
Converts to this type from the input type.
source§impl From<SpringGreen> for Color
impl From<SpringGreen> for Color
source§fn from(_: SpringGreen) -> Self
fn from(_: SpringGreen) -> Self
Converts to this type from the input type.
source§impl From<SpringGreen1> for Color
impl From<SpringGreen1> for Color
source§fn from(_: SpringGreen1) -> Self
fn from(_: SpringGreen1) -> Self
Converts to this type from the input type.
source§impl From<SpringGreen2> for Color
impl From<SpringGreen2> for Color
source§fn from(_: SpringGreen2) -> Self
fn from(_: SpringGreen2) -> Self
Converts to this type from the input type.
source§impl From<SpringGreen3> for Color
impl From<SpringGreen3> for Color
source§fn from(_: SpringGreen3) -> Self
fn from(_: SpringGreen3) -> Self
Converts to this type from the input type.
source§impl From<SpringGreen4> for Color
impl From<SpringGreen4> for Color
source§fn from(_: SpringGreen4) -> Self
fn from(_: SpringGreen4) -> Self
Converts to this type from the input type.
source§impl From<SteelBlue1> for Color
impl From<SteelBlue1> for Color
source§fn from(_: SteelBlue1) -> Self
fn from(_: SteelBlue1) -> Self
Converts to this type from the input type.
source§impl From<SteelBlue3> for Color
impl From<SteelBlue3> for Color
source§fn from(_: SteelBlue3) -> Self
fn from(_: SteelBlue3) -> Self
Converts to this type from the input type.
source§impl From<Turquoise2> for Color
impl From<Turquoise2> for Color
source§fn from(_: Turquoise2) -> Self
fn from(_: Turquoise2) -> Self
Converts to this type from the input type.
source§impl From<Turquoise4> for Color
impl From<Turquoise4> for Color
source§fn from(_: Turquoise4) -> Self
fn from(_: Turquoise4) -> Self
Converts to this type from the input type.
source§impl From<VioletRed1> for Color
impl From<VioletRed1> for Color
source§fn from(_: VioletRed1) -> Self
fn from(_: VioletRed1) -> Self
Converts to this type from the input type.
source§impl From<WhiteSmoke> for Color
impl From<WhiteSmoke> for Color
source§fn from(_: WhiteSmoke) -> Self
fn from(_: WhiteSmoke) -> Self
Converts to this type from the input type.
source§impl From<XtermColor> for Color
impl From<XtermColor> for Color
source§fn from(color: XtermColor) -> Self
fn from(color: XtermColor) -> Self
Converts to this type from the input type.
source§impl From<YellowGreen> for Color
impl From<YellowGreen> for Color
source§fn from(_: YellowGreen) -> Self
fn from(_: YellowGreen) -> Self
Converts to this type from the input type.
source§impl From<YellowGreen> for Color
impl From<YellowGreen> for Color
source§fn from(_: YellowGreen) -> Self
fn from(_: YellowGreen) -> Self
Converts to this type from the input type.
source§impl PartialEq<Color> for Color
impl PartialEq<Color> for Color
source§impl WriteColor for Color
impl WriteColor for Color
source§fn color_kind(self) -> ColorKind
fn color_kind(self) -> ColorKind
The color kind of this Color Read more
source§fn fmt_foreground_args(self, f: &mut Formatter<'_>) -> Result
fn fmt_foreground_args(self, f: &mut Formatter<'_>) -> Result
write the foreground color arguments
source§fn fmt_background_args(self, f: &mut Formatter<'_>) -> Result
fn fmt_background_args(self, f: &mut Formatter<'_>) -> Result
write the background color arguments
source§fn fmt_underline_args(self, f: &mut Formatter<'_>) -> Result
fn fmt_underline_args(self, f: &mut Formatter<'_>) -> Result
write the underline color arguments
source§fn fmt_foreground(self, f: &mut Formatter<'_>) -> Result
fn fmt_foreground(self, f: &mut Formatter<'_>) -> Result
write the foreground color sequence
source§fn fmt_background(self, f: &mut Formatter<'_>) -> Result
fn fmt_background(self, f: &mut Formatter<'_>) -> Result
write the background color sequence
source§fn fmt_underline(self, f: &mut Formatter<'_>) -> Result
fn fmt_underline(self, f: &mut Formatter<'_>) -> Result
write the underline color sequence
impl Copy for Color
impl Eq for Color
impl StructuralEq for Color
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Colorize for Twhere
T: ?Sized,
impl<T> Colorize for Twhere T: ?Sized,
source§fn into_style(self) -> StyledValue<Self>where
Self: Sized,
fn into_style(self) -> StyledValue<Self>where Self: Sized,
Convert a value to a
StyledValue
source§fn style(&self) -> StyledValue<&Self>
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,
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 stylesource§fn style_with<F, B, U>(
&self,
style: Style<F, B, U>
) -> StyledValue<&Self, F, B, U>
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 stylesource§fn fg<C>(&self, color: C) -> StyledValue<&Self, C>
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,
fn into_fg<C>(self, color: C) -> StyledValue<Self, C>where Self: Sized,
Changes the foreground color
source§fn into_bg<C>(self, color: C) -> StyledValue<Self, NoColor, C>where
Self: Sized,
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>
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,
fn into_underline_color<C>( self, color: C ) -> StyledValue<Self, NoColor, NoColor, C>where Self: Sized,
Changes the underline color
source§fn bright_black(&self) -> StyledValue<&Self, BrightBlack>
fn bright_black(&self) -> StyledValue<&Self, BrightBlack>
Changes the foreground to bright black
source§fn bright_red(&self) -> StyledValue<&Self, BrightRed>
fn bright_red(&self) -> StyledValue<&Self, BrightRed>
Changes the foreground to bright red
source§fn bright_green(&self) -> StyledValue<&Self, BrightGreen>
fn bright_green(&self) -> StyledValue<&Self, BrightGreen>
Changes the foreground to bright green
source§fn bright_yellow(&self) -> StyledValue<&Self, BrightYellow>
fn bright_yellow(&self) -> StyledValue<&Self, BrightYellow>
Changes the foreground to bright yellow
source§fn bright_blue(&self) -> StyledValue<&Self, BrightBlue>
fn bright_blue(&self) -> StyledValue<&Self, BrightBlue>
Changes the foreground to bright blue
source§fn bright_magenta(&self) -> StyledValue<&Self, BrightMagenta>
fn bright_magenta(&self) -> StyledValue<&Self, BrightMagenta>
Changes the foreground to bright magenta
source§fn bright_cyan(&self) -> StyledValue<&Self, BrightCyan>
fn bright_cyan(&self) -> StyledValue<&Self, BrightCyan>
Changes the foreground to bright cyan
source§fn bright_white(&self) -> StyledValue<&Self, BrightWhite>
fn bright_white(&self) -> StyledValue<&Self, BrightWhite>
Changes the foreground to bright white
source§fn on_magenta(&self) -> StyledValue<&Self, NoColor, Magenta>
fn on_magenta(&self) -> StyledValue<&Self, NoColor, Magenta>
Changes the background to magenta
source§fn on_bright_black(&self) -> StyledValue<&Self, NoColor, BrightBlack>
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>
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>
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>
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>
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>
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>
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>
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,
fn into_black(self) -> StyledValue<Self, Black>where Self: Sized,
Changes the foreground to black
source§fn into_green(self) -> StyledValue<Self, Green>where
Self: Sized,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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>
fn bold(&self) -> StyledValue<&Self>
Applies the bold effect
source§fn dimmed(&self) -> StyledValue<&Self>
fn dimmed(&self) -> StyledValue<&Self>
Applies the dimmed effect
source§fn italics(&self) -> StyledValue<&Self>
fn italics(&self) -> StyledValue<&Self>
Applies the italics effect
source§fn underline(&self) -> StyledValue<&Self>
fn underline(&self) -> StyledValue<&Self>
Applies the underline effect
source§fn double_underline(&self) -> StyledValue<&Self>
fn double_underline(&self) -> StyledValue<&Self>
Applies the double underline effect
source§fn blink(&self) -> StyledValue<&Self>
fn blink(&self) -> StyledValue<&Self>
Applies the blink effect
source§fn blink_fast(&self) -> StyledValue<&Self>
fn blink_fast(&self) -> StyledValue<&Self>
Applies the blink fast effect
source§fn reverse(&self) -> StyledValue<&Self>
fn reverse(&self) -> StyledValue<&Self>
Applies the reverse effect
source§fn hide(&self) -> StyledValue<&Self>
fn hide(&self) -> StyledValue<&Self>
Applies the hide effect
source§fn strikethrough(&self) -> StyledValue<&Self>
fn strikethrough(&self) -> StyledValue<&Self>
Applies the strikethrough effect
source§fn overline(&self) -> StyledValue<&Self>
fn overline(&self) -> StyledValue<&Self>
Applies the overline effect
source§fn superscript(&self) -> StyledValue<&Self>
fn superscript(&self) -> StyledValue<&Self>
Applies the superscript effect
source§fn subscript(&self) -> StyledValue<&Self>
fn subscript(&self) -> StyledValue<&Self>
Applies the subscript effect
source§fn into_bold(self) -> StyledValue<Self>where
Self: Sized,
fn into_bold(self) -> StyledValue<Self>where Self: Sized,
Applies the bold effect
source§fn into_dimmed(self) -> StyledValue<Self>where
Self: Sized,
fn into_dimmed(self) -> StyledValue<Self>where Self: Sized,
Applies the dimmed effect
source§fn into_italics(self) -> StyledValue<Self>where
Self: Sized,
fn into_italics(self) -> StyledValue<Self>where Self: Sized,
Applies the italics effect
source§fn into_underline(self) -> StyledValue<Self>where
Self: Sized,
fn into_underline(self) -> StyledValue<Self>where Self: Sized,
Applies the underline effect
source§fn into_double_underline(self) -> StyledValue<Self>where
Self: Sized,
fn into_double_underline(self) -> StyledValue<Self>where Self: Sized,
Applies the double underline effect
source§fn into_blink(self) -> StyledValue<Self>where
Self: Sized,
fn into_blink(self) -> StyledValue<Self>where Self: Sized,
Applies the blink effect
source§fn into_blink_fast(self) -> StyledValue<Self>where
Self: Sized,
fn into_blink_fast(self) -> StyledValue<Self>where Self: Sized,
Applies the blink fast effect
source§fn into_reverse(self) -> StyledValue<Self>where
Self: Sized,
fn into_reverse(self) -> StyledValue<Self>where Self: Sized,
Applies the reverse effect
source§fn into_hide(self) -> StyledValue<Self>where
Self: Sized,
fn into_hide(self) -> StyledValue<Self>where Self: Sized,
Applies the hide effect
source§fn into_strikethrough(self) -> StyledValue<Self>where
Self: Sized,
fn into_strikethrough(self) -> StyledValue<Self>where Self: Sized,
Applies the strikethrough effect
source§fn into_overline(self) -> StyledValue<Self>where
Self: Sized,
fn into_overline(self) -> StyledValue<Self>where Self: Sized,
Applies the overline effect
source§fn into_superscript(self) -> StyledValue<Self>where
Self: Sized,
fn into_superscript(self) -> StyledValue<Self>where Self: Sized,
Applies the superscript effect
source§fn into_subscript(self) -> StyledValue<Self>where
Self: Sized,
fn into_subscript(self) -> StyledValue<Self>where Self: Sized,
Applies the subscript effect