pub trait HasDistanceTo<Rhs = Self> {
// Required method
fn distance_to(&self, other: &Rhs) -> GeometryMeasure;
}Expand description
Computes a distance from self to another value.
Required Methods§
Sourcefn distance_to(&self, other: &Rhs) -> GeometryMeasure
fn distance_to(&self, other: &Rhs) -> GeometryMeasure
Returns the distance to other.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".