[][src]Trait colorsys::ApproxEq

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

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

Loading content...

Implementors

impl ApproxEq<Hsl> for Hsl[src]

impl ApproxEq<Hsl> for Rgb[src]

impl ApproxEq<Rgb> for Hsl[src]

impl ApproxEq<Rgb> for Rgb[src]

Loading content...