[]Trait gdnative_common::geom::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

impl ApproxEq<f64> for f64

Loading content...

Implementors

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

impl<T, U> ApproxEq<TypedPoint2D<T, U>> for TypedPoint2D<T, U> where
    T: ApproxEq<T> + Copy

impl<T, U> ApproxEq<TypedPoint3D<T, U>> for TypedPoint3D<T, U> where
    T: ApproxEq<T> + Copy

impl<T, U> ApproxEq<TypedVector2D<T, U>> for TypedVector2D<T, U> where
    T: ApproxEq<T> + Copy

impl<T, U> ApproxEq<TypedVector3D<T, U>> for TypedVector3D<T, U> where
    T: ApproxEq<T> + Copy

Loading content...