Trait la::ApproxEq [] [src]

pub trait ApproxEq<Eps> {
    fn approx_epsilon() -> Eps;
    fn approx_eq(&self, other: &Self) -> bool;
    fn approx_eq_eps(&self, other: &Self, approx_epsilon: &Eps) -> bool;
}

Trait for testing approximate equality

Required Methods

fn approx_epsilon() -> Eps

fn approx_eq(&self, other: &Self) -> bool

fn approx_eq_eps(&self, other: &Self, approx_epsilon: &Eps) -> bool

Implementors