pub fn get_at_indices<T: Clone, I: Borrow<usize>>(
    items: &[T],
    indices: impl IntoIterator<Item = I>
) -> Result<Vec<T>>
Expand description

This function “takes” the elements at indices from the slice items.