pub trait ApproxEq<Rhs = Self> {
// Required method
fn approx_eq(&self, other: &Rhs, epsilon: GeometryMeasure) -> bool;
}Expand description
Provides approximate equality comparisons with a caller-supplied epsilon.
Required Methods§
Sourcefn approx_eq(&self, other: &Rhs, epsilon: GeometryMeasure) -> bool
fn approx_eq(&self, other: &Rhs, epsilon: GeometryMeasure) -> bool
Returns true if self and other are approximately equal.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".