Skip to main content

nearest

Function nearest 

Source
pub fn nearest<T: Floor + Copy + PartialOrd>(want: T, from: &[T]) -> Option<T>