Struct hsluv::Rgb
[−]
[src]
pub struct Rgb { /* fields omitted */ }
Methods
impl Rgb
[src]
fn new(red: f64, green: f64, blue: f64) -> Result<Rgb, RgbBounds>
fn red(&self) -> f64
fn red_ref(&self) -> &f64
fn red_mut(&mut self) -> &mut f64
fn green(&self) -> f64
fn green_ref(&self) -> &f64
fn green_mut(&mut self) -> &mut f64
fn blue(&self) -> f64
fn blue_ref(&self) -> &f64
fn blue_mut(&mut self) -> &mut f64
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