[][src]Struct itertools::structs::ConsTuples

#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
pub struct ConsTuples<I, J> where
    I: Iterator<Item = J>, 
{ /* fields omitted */ }

An iterator that maps an iterator of tuples like ((A, B), C) to an iterator of (A, B, C).

Used by the iproduct!() macro.

Trait Implementations

impl<I, J> Clone for ConsTuples<I, J> where
    I: Clone + Iterator<Item = J>, 
[src]

impl<I: Debug, J: Debug> Debug for ConsTuples<I, J> where
    I: Iterator<Item = J>, 
[src]

impl<X, Iter, G, H> DoubleEndedIterator for ConsTuples<Iter, ((G, H), X)> where
    Iter: DoubleEndedIterator<Item = ((G, H), X)>, 
[src]

impl<X, Iter, F, G, H> DoubleEndedIterator for ConsTuples<Iter, ((F, G, H), X)> where
    Iter: DoubleEndedIterator<Item = ((F, G, H), X)>, 
[src]

impl<X, Iter, E, F, G, H> DoubleEndedIterator for ConsTuples<Iter, ((E, F, G, H), X)> where
    Iter: DoubleEndedIterator<Item = ((E, F, G, H), X)>, 
[src]

impl<X, Iter, D, E, F, G, H> DoubleEndedIterator for ConsTuples<Iter, ((D, E, F, G, H), X)> where
    Iter: DoubleEndedIterator<Item = ((D, E, F, G, H), X)>, 
[src]

impl<X, Iter, C, D, E, F, G, H> DoubleEndedIterator for ConsTuples<Iter, ((C, D, E, F, G, H), X)> where
    Iter: DoubleEndedIterator<Item = ((C, D, E, F, G, H), X)>, 
[src]

impl<X, Iter, B, C, D, E, F, G, H> DoubleEndedIterator for ConsTuples<Iter, ((B, C, D, E, F, G, H), X)> where
    Iter: DoubleEndedIterator<Item = ((B, C, D, E, F, G, H), X)>, 
[src]

impl<X, Iter, G, H> Iterator for ConsTuples<Iter, ((G, H), X)> where
    Iter: Iterator<Item = ((G, H), X)>, 
[src]

type Item = (G, H, X)

The type of the elements being iterated over.

impl<X, Iter, F, G, H> Iterator for ConsTuples<Iter, ((F, G, H), X)> where
    Iter: Iterator<Item = ((F, G, H), X)>, 
[src]

type Item = (F, G, H, X)

The type of the elements being iterated over.

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)>, 
[src]

type Item = (E, F, G, H, X)

The type of the elements being iterated over.

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)>, 
[src]

type Item = (D, E, F, G, H, X)

The type of the elements being iterated over.

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)>, 
[src]

type Item = (C, D, E, F, G, H, X)

The type of the elements being iterated over.

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)>, 
[src]

type Item = (B, C, D, E, F, G, H, X)

The type of the elements being iterated over.

Auto Trait Implementations

impl<I, J> RefUnwindSafe for ConsTuples<I, J> where
    I: RefUnwindSafe

impl<I, J> Send for ConsTuples<I, J> where
    I: Send

impl<I, J> Sync for ConsTuples<I, J> where
    I: Sync

impl<I, J> Unpin for ConsTuples<I, J> where
    I: Unpin

impl<I, J> UnwindSafe for ConsTuples<I, J> where
    I: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.