Skip to main content

min_max

Function min_max 

Source
pub fn min_max<'r, T, R: GetBeginEnd<T>, C: CpCmp<T>>(
    src: &'r [R],
    t: &C,
) -> Option<(&'r T, &'r T)>
Expand description

Returns an Option wrapped tuple representing the smallest begin and largest end values found in src.