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,