[−][src]Trait euclid::approxeq::ApproxEq
Trait for testing approximate equality
Required methods
fn approx_epsilon() -> Eps
Default epsilon value
fn approx_eq_eps(&self, other: &Self, approx_epsilon: &Eps) -> bool
Returns true
is this object is approximately equal to the other one, using
a provided epsilon value.
Provided methods
fn approx_eq(&self, other: &Self) -> bool
Returns true
is this object is approximately equal to the other one, using
the approx_epsilon()
epsilon value.
Implementations on Foreign Types
impl ApproxEq<f32> for f32
[src]
fn approx_epsilon() -> f32
[src]
fn approx_eq_eps(&self, other: &f32, approx_epsilon: &f32) -> bool
[src]
impl ApproxEq<f64> for f64
[src]
fn approx_epsilon() -> f64
[src]
fn approx_eq_eps(&self, other: &f64, approx_epsilon: &f64) -> bool
[src]
Implementors
impl<T, Src, Dst> ApproxEq<T> for Rotation3D<T, Src, Dst> where
T: Copy + Neg<Output = T> + ApproxEq<T>,
[src]
T: Copy + Neg<Output = T> + ApproxEq<T>,
fn approx_epsilon() -> T
[src]
fn approx_eq_eps(&self, other: &Self, eps: &T) -> bool
[src]
impl<T: ApproxEq<T>> ApproxEq<T> for Angle<T>
[src]
fn approx_epsilon() -> T
[src]
fn approx_eq_eps(&self, other: &Angle<T>, approx_epsilon: &T) -> bool
[src]
impl<T: ApproxEq<T>, Src, Dst> ApproxEq<T> for Transform2D<T, Src, Dst>
[src]
fn approx_epsilon() -> T
[src]
fn approx_eq_eps(&self, other: &Self, eps: &T) -> bool
[src]
Returns true is this transform is approximately equal to the other one, using a provided epsilon value.