[][src]Function itertools::cons_tuples

pub fn cons_tuples<I, J>(iterable: I) -> ConsTuples<I, J>

Notable traits for ConsTuples<Iter, ((G, H), X)>

impl<X, Iter, G, H> Iterator for ConsTuples<Iter, ((G, H), X)> where
    Iter: Iterator<Item = ((G, H), X)>, 
type Item = (G, H, X);impl<X, Iter, F, G, H> Iterator for ConsTuples<Iter, ((F, G, H), X)> where
    Iter: Iterator<Item = ((F, G, H), X)>, 
type Item = (F, G, H, X);impl<X, Iter, E, F, G, H> Iterator for ConsTuples<Iter, ((E, F, G, H), X)> where
    Iter: Iterator<Item = ((E, F, G, H), X)>, 
type Item = (E, F, G, H, X);impl<X, Iter, D, E, F, G, H> Iterator for ConsTuples<Iter, ((D, E, F, G, H), X)> where
    Iter: Iterator<Item = ((D, E, F, G, H), X)>, 
type Item = (D, E, F, G, H, X);impl<X, Iter, C, D, E, F, G, H> Iterator for ConsTuples<Iter, ((C, D, E, F, G, H), X)> where
    Iter: Iterator<Item = ((C, D, E, F, G, H), X)>, 
type Item = (C, D, E, F, G, H, X);impl<X, Iter, B, C, D, E, F, G, H> Iterator for ConsTuples<Iter, ((B, C, D, E, F, G, H), X)> where
    Iter: Iterator<Item = ((B, C, D, E, F, G, H), X)>, 
type Item = (B, C, D, E, F, G, H, X);
where
    I: Iterator<Item = J>, 

Create an iterator that maps for example iterators of ((A, B), C) to (A, B, C).