Trait IteratorIndex
pub trait IteratorIndex<I>: Sealedwhere
I: Iterator,{
type Output: Iterator<Item = <I as Iterator>::Item>;
// Required method
fn index(self, from: I) -> Self::Output;
}
Available on crate feature
dep_itertools
only.Expand description
Used by [Itertools::get
] to know which iterator
to turn different ranges into.