Skip to main content

Distance

Trait Distance 

Source
pub trait Distance<T>: Send + Sync {
    // Required method
    fn distance(&self, one: &T, two: &T) -> f32;
}

Required Methods§

Source

fn distance(&self, one: &T, two: &T) -> f32

Implementors§