[][src]Trait la::ApproxEq

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

Loading content...

Implementations on Foreign Types

impl ApproxEq<f32> for f32[src]

impl ApproxEq<f64> for f64[src]

Loading content...

Implementors

Loading content...