pub struct Color { /* private fields */ }
std
only.Expand description
Implementations§
source§impl Color
impl Color
sourcepub const FG_BLACK: Self = _
pub const FG_BLACK: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_BLUE: Self = _
pub const FG_BLUE: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_BRIGHT_BLACK: Self = _
pub const FG_BRIGHT_BLACK: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_BRIGHT_BLUE: Self = _
pub const FG_BRIGHT_BLUE: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_BRIGHT_CYAN: Self = _
pub const FG_BRIGHT_CYAN: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_BRIGHT_GREEN: Self = _
pub const FG_BRIGHT_GREEN: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_BRIGHT_MAGENTA: Self = _
pub const FG_BRIGHT_MAGENTA: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_BRIGHT_RED: Self = _
pub const FG_BRIGHT_RED: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_BRIGHT_WHITE: Self = _
pub const FG_BRIGHT_WHITE: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_BRIGHT_YELLOW: Self = _
pub const FG_BRIGHT_YELLOW: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_CYAN: Self = _
pub const FG_CYAN: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_GREEN: Self = _
pub const FG_GREEN: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_MAGENTA: Self = _
pub const FG_MAGENTA: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_RED: Self = _
pub const FG_RED: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_WHITE: Self = _
pub const FG_WHITE: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const FG_YELLOW: Self = _
pub const FG_YELLOW: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_BLACK: Self = _
pub const BG_BLACK: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_BLUE: Self = _
pub const BG_BLUE: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_BRIGHT_BLACK: Self = _
pub const BG_BRIGHT_BLACK: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_BRIGHT_BLUE: Self = _
pub const BG_BRIGHT_BLUE: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_BRIGHT_CYAN: Self = _
pub const BG_BRIGHT_CYAN: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_BRIGHT_GREEN: Self = _
pub const BG_BRIGHT_GREEN: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_BRIGHT_MAGENTA: Self = _
pub const BG_BRIGHT_MAGENTA: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_BRIGHT_RED: Self = _
pub const BG_BRIGHT_RED: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_BRIGHT_WHITE: Self = _
pub const BG_BRIGHT_WHITE: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_BRIGHT_YELLOW: Self = _
pub const BG_BRIGHT_YELLOW: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_CYAN: Self = _
pub const BG_CYAN: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_GREEN: Self = _
pub const BG_GREEN: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_MAGENTA: Self = _
pub const BG_MAGENTA: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_RED: Self = _
pub const BG_RED: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
sourcepub const BG_WHITE: Self = _
pub const BG_WHITE: Self = _
A color representation.
Notice that the colors are constants so you can’t combine them.
Trait Implementations§
source§impl<R> CellOption<R, ColoredConfig> for &Color
impl<R> CellOption<R, ColoredConfig> for &Color
source§fn change(self, _: &mut R, cfg: &mut ColoredConfig, entity: Entity)
fn change(self, _: &mut R, cfg: &mut ColoredConfig, entity: Entity)
Entity
.source§fn hint_change(&self) -> Option<Entity>
fn hint_change(&self) -> Option<Entity>
TableOption
is going to change table layout. Read moresource§impl<R> CellOption<R, ColoredConfig> for Color
impl<R> CellOption<R, ColoredConfig> for Color
source§fn change(self, _: &mut R, cfg: &mut ColoredConfig, entity: Entity)
fn change(self, _: &mut R, cfg: &mut ColoredConfig, entity: Entity)
Entity
.source§fn hint_change(&self) -> Option<Entity>
fn hint_change(&self) -> Option<Entity>
TableOption
is going to change table layout. Read moresource§impl Ord for Color
impl Ord for Color
source§impl PartialEq for Color
impl PartialEq for Color
source§impl PartialOrd for Color
impl PartialOrd for Color
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl<R, D> TableOption<R, ColoredConfig, D> for Color
impl<R, D> TableOption<R, ColoredConfig, D> for Color
source§fn change(self, _: &mut R, cfg: &mut ColoredConfig, _: &mut D)
fn change(self, _: &mut R, cfg: &mut ColoredConfig, _: &mut D)
source§fn hint_change(&self) -> Option<Entity>
fn hint_change(&self) -> Option<Entity>
TableOption
is going to change table layout. Read more