Trait termion::color::Color [] [src]

pub trait Color {
    fn write_fg(&self, f: &mut Formatter) -> Result;
    fn write_bg(&self, f: &mut Formatter) -> Result;
}

A terminal color.

Required Methods

Write the foreground version of this color.

Write the background version of this color.

Trait Implementations

impl<'a> Color for &'a Color
[src]

Write the foreground version of this color.

Write the background version of this color.

Implementors