Trait colorsys::ApproxEq[][src]

pub trait ApproxEq<T> {
    fn approx_eq(&self, other: &T) -> bool;
fn approx_eq_clarify(&self, other: &T, precision: f64) -> bool; }

Methods to compare two colors

Required methods

fn approx_eq(&self, other: &T) -> bool[src]

fn approx_eq_clarify(&self, other: &T, precision: f64) -> bool[src]

Loading content...

Implementors

impl ApproxEq<Hsl> for Rgb[src]

impl ApproxEq<Rgb> for Hsl[src]

impl<T> ApproxEq<T> for T where
    T: GetColorUnits, 
[src]

Loading content...