Struct termion::color::Rgb [] [src]

pub struct Rgb(pub u8, pub u8, pub u8);

A truecolor RGB.

Trait Implementations

impl Debug for Rgb
[src]

Formats the value using the given formatter.

impl Clone for Rgb
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Rgb
[src]

impl PartialEq for Rgb
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Color for Rgb
[src]

Write the foreground version of this color.

Write the background version of this color.