pub trait InherentDiscreteMetric<V: ?Sized> {
// Required method
fn distance_to(&self, v: &V) -> usize;
}
Expand description
allows metrics inherent to type
Required Methods§
Sourcefn distance_to(&self, v: &V) -> usize
fn distance_to(&self, v: &V) -> usize
finds the distance between self and v