pub trait MetricSpace: Sized { fn distance(&self, other: &Self) -> f64; }
A trait to compute distances between points.
Returns the distance between self and other.
self
other