Trait iterext::Separate [−][src]
Required methods
fn separate(self, group_sep: T, group_size: usize) -> O
[src]
Separate a stream into groups, inserting a copy of T between each. Then collect it into an appropriate container.
This is a fused iterator.
Implementors
impl<'a, I, T, O> Separate<'a, I, T, O> for I where
I: 'a + IntoIterator<Item = T>,
<I as IntoIterator>::IntoIter: 'a,
T: 'a + Copy + PartialEq,
O: FromIterator<T>,
[src]
I: 'a + IntoIterator<Item = T>,
<I as IntoIterator>::IntoIter: 'a,
T: 'a + Copy + PartialEq,
O: FromIterator<T>,