pub fn min(&self) -> f32 {
        self.vals.iter().fold(1.0/0.0,|a,(_k,v)| {
            if v < &a {
                *v
            } else {
                a
            }
        })
    }
/// Iterates over all distances and gets the minimum.
Iterates over all distances and gets the minimum.
Iterates over all distances and gets the minimum .
pub fn min(&self) -> f32 {
        self.vals.iter().fold(1.0/0.0,|a,(_k,v)| {
            if v < &a {
                *v
            } else {
                a
            }
        })
    }
pub fn min ( & self ) -> f32 { self . vals . iter ( ) . fold ( 1.0 / 0.0 , | a , ( _k , v ) | { if v < & a { * v } else { a } } ) }
Iterates over all distances and gets the minimum.
Iterates over all distances and gets the minimum .
&self
&self