Skip to main content

index_of

Function index_of 

Source
pub fn index_of<T, F: Fn(&T, &T) -> bool>(
    values: &[T],
    search: &T,
    from: f64,
    reverse: bool,
    equal: F,
) -> f64