Struct termion::color::AnsiValue [] [src]

pub struct AnsiValue(pub u8);

An arbitrary ANSI color value.

Methods

impl AnsiValue
[src]

216-color (r, g, b ≤ 5) RGB.

Grayscale color.

There are 24 shades of gray.

Trait Implementations

impl Clone for AnsiValue
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for AnsiValue
[src]

impl Debug for AnsiValue
[src]

Formats the value using the given formatter.

impl Color for AnsiValue
[src]

Write the foreground version of this color.

Write the background version of this color.