Function median_idx

pub(in ::slice::sort::select) fn median_idx<T, F: FnMut(&T, &T) -> bool>(v: &[T], is_less: &mut F, a: usize, b: usize, c: usize) -> usize

returns the index pointing to the median of the 3 elements v[a], v[b] and v[c]