Function loro_rle::slice_vec_by

source ·
pub fn slice_vec_by<T, F>(
    vec: &[T],
    index: F,
    start: usize,
    end: usize
) -> Vec<T>
where F: Fn(&T) -> usize, T: Sliceable + HasLength,