Struct termion::color::Red [] [src]

pub struct Red;

Red.

Trait Implementations

impl Clone for Red
[src]

fn clone(&self) -> Red

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for Red
[src]

impl Color for Red
[src]

fn write_fg(&self, f: &mut Formatter) -> Result

Write the foreground version of this color.

fn write_bg(&self, f: &mut Formatter) -> Result

Write the background version of this color.