Struct termion::color::Rgb
[−]
[src]
pub struct Rgb(pub u8, pub u8, pub u8);
A truecolor RGB.
Trait Implementations
impl Debug for Rgb
[src]
impl Clone for Rgb
[src]
fn clone(&self) -> Rgb
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 Rgb
[src]
impl PartialEq for Rgb
[src]
fn eq(&self, __arg_0: &Rgb) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Rgb) -> bool
This method tests for !=
.