[][src]Trait euclid::approxeq::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

impl<T, Src, Dst> ApproxEq<T> for TypedRotation3D<T, Src, Dst> where
    T: Copy + Neg<Output = T> + ApproxEq<T>, 
[src]

impl<T: Copy + ApproxEq<T>, U> ApproxEq<TypedPoint2D<T, U>> for TypedPoint2D<T, U>[src]

impl<T: Copy + ApproxEq<T>, U> ApproxEq<TypedPoint3D<T, U>> for TypedPoint3D<T, U>[src]

impl<T: Copy + ApproxEq<T>, U> ApproxEq<TypedVector2D<T, U>> for TypedVector2D<T, U>[src]

impl<T: Copy + ApproxEq<T>, U> ApproxEq<TypedVector3D<T, U>> for TypedVector3D<T, U>[src]

Loading content...