pub fn slice<T, S: Stream<Item = T>>( start: usize, end: usize, s: S, ) -> impl Stream<Item = T>
Emit values from index start to end (exclusive).