Struct itree::color::Rgb [−][src]
A truecolor RGB.
Trait Implementations
impl Color for Rgb
[src]
impl Color for Rgb
fn write_fg(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn write_fg(&self, f: &mut Formatter) -> Result<(), Error>
Write the foreground version of this color.
fn write_bg(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn write_bg(&self, f: &mut Formatter) -> Result<(), Error>
Write the background version of this color.
impl Clone for Rgb
[src]
impl Clone for Rgb
fn clone(&self) -> Rgb
[src]
fn clone(&self) -> Rgb
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Rgb
[src]
impl Debug for Rgb
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for Rgb
[src]
impl Copy for Rgb
impl PartialEq<Rgb> for Rgb
[src]
impl PartialEq<Rgb> for Rgb