Struct itertools::structs::Zip[][src]

#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]pub struct Zip<T> { /* fields omitted */ }

See multizip for more information.

Trait Implementations

impl<T: Clone> Clone for Zip<T>[src]

impl<T: Debug> Debug for Zip<T>[src]

impl<A> DoubleEndedIterator for Zip<(A,)> where
    A: DoubleEndedIterator + ExactSizeIterator
[src]

impl<A, B> DoubleEndedIterator for Zip<(A, B)> where
    A: DoubleEndedIterator + ExactSizeIterator,
    B: DoubleEndedIterator + ExactSizeIterator
[src]

impl<A, B, C, D, E, F, G, H, I, J, K> DoubleEndedIterator for Zip<(A, B, C, D, E, F, G, H, I, J, K)> where
    A: DoubleEndedIterator + ExactSizeIterator,
    B: DoubleEndedIterator + ExactSizeIterator,
    C: DoubleEndedIterator + ExactSizeIterator,
    D: DoubleEndedIterator + ExactSizeIterator,
    E: DoubleEndedIterator + ExactSizeIterator,
    F: DoubleEndedIterator + ExactSizeIterator,
    G: DoubleEndedIterator + ExactSizeIterator,
    H: DoubleEndedIterator + ExactSizeIterator,
    I: DoubleEndedIterator + ExactSizeIterator,
    J: DoubleEndedIterator + ExactSizeIterator,
    K: DoubleEndedIterator + ExactSizeIterator
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L> DoubleEndedIterator for Zip<(A, B, C, D, E, F, G, H, I, J, K, L)> where
    A: DoubleEndedIterator + ExactSizeIterator,
    B: DoubleEndedIterator + ExactSizeIterator,
    C: DoubleEndedIterator + ExactSizeIterator,
    D: DoubleEndedIterator + ExactSizeIterator,
    E: DoubleEndedIterator + ExactSizeIterator,
    F: DoubleEndedIterator + ExactSizeIterator,
    G: DoubleEndedIterator + ExactSizeIterator,
    H: DoubleEndedIterator + ExactSizeIterator,
    I: DoubleEndedIterator + ExactSizeIterator,
    J: DoubleEndedIterator + ExactSizeIterator,
    K: DoubleEndedIterator + ExactSizeIterator,
    L: DoubleEndedIterator + ExactSizeIterator
[src]

impl<A, B, C> DoubleEndedIterator for Zip<(A, B, C)> where
    A: DoubleEndedIterator + ExactSizeIterator,
    B: DoubleEndedIterator + ExactSizeIterator,
    C: DoubleEndedIterator + ExactSizeIterator
[src]

impl<A, B, C, D> DoubleEndedIterator for Zip<(A, B, C, D)> where
    A: DoubleEndedIterator + ExactSizeIterator,
    B: DoubleEndedIterator + ExactSizeIterator,
    C: DoubleEndedIterator + ExactSizeIterator,
    D: DoubleEndedIterator + ExactSizeIterator
[src]

impl<A, B, C, D, E> DoubleEndedIterator for Zip<(A, B, C, D, E)> where
    A: DoubleEndedIterator + ExactSizeIterator,
    B: DoubleEndedIterator + ExactSizeIterator,
    C: DoubleEndedIterator + ExactSizeIterator,
    D: DoubleEndedIterator + ExactSizeIterator,
    E: DoubleEndedIterator + ExactSizeIterator
[src]

impl<A, B, C, D, E, F> DoubleEndedIterator for Zip<(A, B, C, D, E, F)> where
    A: DoubleEndedIterator + ExactSizeIterator,
    B: DoubleEndedIterator + ExactSizeIterator,
    C: DoubleEndedIterator + ExactSizeIterator,
    D: DoubleEndedIterator + ExactSizeIterator,
    E: DoubleEndedIterator + ExactSizeIterator,
    F: DoubleEndedIterator + ExactSizeIterator
[src]

impl<A, B, C, D, E, F, G> DoubleEndedIterator for Zip<(A, B, C, D, E, F, G)> where
    A: DoubleEndedIterator + ExactSizeIterator,
    B: DoubleEndedIterator + ExactSizeIterator,
    C: DoubleEndedIterator + ExactSizeIterator,
    D: DoubleEndedIterator + ExactSizeIterator,
    E: DoubleEndedIterator + ExactSizeIterator,
    F: DoubleEndedIterator + ExactSizeIterator,
    G: DoubleEndedIterator + ExactSizeIterator
[src]

impl<A, B, C, D, E, F, G, H> DoubleEndedIterator for Zip<(A, B, C, D, E, F, G, H)> where
    A: DoubleEndedIterator + ExactSizeIterator,
    B: DoubleEndedIterator + ExactSizeIterator,
    C: DoubleEndedIterator + ExactSizeIterator,
    D: DoubleEndedIterator + ExactSizeIterator,
    E: DoubleEndedIterator + ExactSizeIterator,
    F: DoubleEndedIterator + ExactSizeIterator,
    G: DoubleEndedIterator + ExactSizeIterator,
    H: DoubleEndedIterator + ExactSizeIterator
[src]

impl<A, B, C, D, E, F, G, H, I> DoubleEndedIterator for Zip<(A, B, C, D, E, F, G, H, I)> where
    A: DoubleEndedIterator + ExactSizeIterator,
    B: DoubleEndedIterator + ExactSizeIterator,
    C: DoubleEndedIterator + ExactSizeIterator,
    D: DoubleEndedIterator + ExactSizeIterator,
    E: DoubleEndedIterator + ExactSizeIterator,
    F: DoubleEndedIterator + ExactSizeIterator,
    G: DoubleEndedIterator + ExactSizeIterator,
    H: DoubleEndedIterator + ExactSizeIterator,
    I: DoubleEndedIterator + ExactSizeIterator
[src]

impl<A, B, C, D, E, F, G, H, I, J> DoubleEndedIterator for Zip<(A, B, C, D, E, F, G, H, I, J)> where
    A: DoubleEndedIterator + ExactSizeIterator,
    B: DoubleEndedIterator + ExactSizeIterator,
    C: DoubleEndedIterator + ExactSizeIterator,
    D: DoubleEndedIterator + ExactSizeIterator,
    E: DoubleEndedIterator + ExactSizeIterator,
    F: DoubleEndedIterator + ExactSizeIterator,
    G: DoubleEndedIterator + ExactSizeIterator,
    H: DoubleEndedIterator + ExactSizeIterator,
    I: DoubleEndedIterator + ExactSizeIterator,
    J: DoubleEndedIterator + ExactSizeIterator
[src]

impl<A> ExactSizeIterator for Zip<(A,)> where
    A: ExactSizeIterator
[src]

impl<A, B> ExactSizeIterator for Zip<(A, B)> where
    A: ExactSizeIterator,
    B: ExactSizeIterator
[src]

impl<A, B, C, D, E, F, G, H, I, J, K> ExactSizeIterator for Zip<(A, B, C, D, E, F, G, H, I, J, K)> where
    A: ExactSizeIterator,
    B: ExactSizeIterator,
    C: ExactSizeIterator,
    D: ExactSizeIterator,
    E: ExactSizeIterator,
    F: ExactSizeIterator,
    G: ExactSizeIterator,
    H: ExactSizeIterator,
    I: ExactSizeIterator,
    J: ExactSizeIterator,
    K: ExactSizeIterator
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L> ExactSizeIterator for Zip<(A, B, C, D, E, F, G, H, I, J, K, L)> where
    A: ExactSizeIterator,
    B: ExactSizeIterator,
    C: ExactSizeIterator,
    D: ExactSizeIterator,
    E: ExactSizeIterator,
    F: ExactSizeIterator,
    G: ExactSizeIterator,
    H: ExactSizeIterator,
    I: ExactSizeIterator,
    J: ExactSizeIterator,
    K: ExactSizeIterator,
    L: ExactSizeIterator
[src]

impl<A, B, C> ExactSizeIterator for Zip<(A, B, C)> where
    A: ExactSizeIterator,
    B: ExactSizeIterator,
    C: ExactSizeIterator
[src]

impl<A, B, C, D> ExactSizeIterator for Zip<(A, B, C, D)> where
    A: ExactSizeIterator,
    B: ExactSizeIterator,
    C: ExactSizeIterator,
    D: ExactSizeIterator
[src]

impl<A, B, C, D, E> ExactSizeIterator for Zip<(A, B, C, D, E)> where
    A: ExactSizeIterator,
    B: ExactSizeIterator,
    C: ExactSizeIterator,
    D: ExactSizeIterator,
    E: ExactSizeIterator
[src]

impl<A, B, C, D, E, F> ExactSizeIterator for Zip<(A, B, C, D, E, F)> where
    A: ExactSizeIterator,
    B: ExactSizeIterator,
    C: ExactSizeIterator,
    D: ExactSizeIterator,
    E: ExactSizeIterator,
    F: ExactSizeIterator
[src]

impl<A, B, C, D, E, F, G> ExactSizeIterator for Zip<(A, B, C, D, E, F, G)> where
    A: ExactSizeIterator,
    B: ExactSizeIterator,
    C: ExactSizeIterator,
    D: ExactSizeIterator,
    E: ExactSizeIterator,
    F: ExactSizeIterator,
    G: ExactSizeIterator
[src]

impl<A, B, C, D, E, F, G, H> ExactSizeIterator for Zip<(A, B, C, D, E, F, G, H)> where
    A: ExactSizeIterator,
    B: ExactSizeIterator,
    C: ExactSizeIterator,
    D: ExactSizeIterator,
    E: ExactSizeIterator,
    F: ExactSizeIterator,
    G: ExactSizeIterator,
    H: ExactSizeIterator
[src]

impl<A, B, C, D, E, F, G, H, I> ExactSizeIterator for Zip<(A, B, C, D, E, F, G, H, I)> where
    A: ExactSizeIterator,
    B: ExactSizeIterator,
    C: ExactSizeIterator,
    D: ExactSizeIterator,
    E: ExactSizeIterator,
    F: ExactSizeIterator,
    G: ExactSizeIterator,
    H: ExactSizeIterator,
    I: ExactSizeIterator
[src]

impl<A, B, C, D, E, F, G, H, I, J> ExactSizeIterator for Zip<(A, B, C, D, E, F, G, H, I, J)> where
    A: ExactSizeIterator,
    B: ExactSizeIterator,
    C: ExactSizeIterator,
    D: ExactSizeIterator,
    E: ExactSizeIterator,
    F: ExactSizeIterator,
    G: ExactSizeIterator,
    H: ExactSizeIterator,
    I: ExactSizeIterator,
    J: ExactSizeIterator
[src]

impl<A: IntoIterator, B: IntoIterator, C: IntoIterator, D: IntoIterator, E: IntoIterator, F: IntoIterator, G: IntoIterator, H: IntoIterator, I: IntoIterator, J: IntoIterator, K: IntoIterator, L: IntoIterator> From<(A, B, C, D, E, F, G, H, I, J, K, L)> for Zip<(A::IntoIter, B::IntoIter, C::IntoIter, D::IntoIter, E::IntoIter, F::IntoIter, G::IntoIter, H::IntoIter, I::IntoIter, J::IntoIter, K::IntoIter, L::IntoIter)>[src]

impl<A: IntoIterator, B: IntoIterator, C: IntoIterator, D: IntoIterator, E: IntoIterator, F: IntoIterator, G: IntoIterator, H: IntoIterator, I: IntoIterator, J: IntoIterator, K: IntoIterator> From<(A, B, C, D, E, F, G, H, I, J, K)> for Zip<(A::IntoIter, B::IntoIter, C::IntoIter, D::IntoIter, E::IntoIter, F::IntoIter, G::IntoIter, H::IntoIter, I::IntoIter, J::IntoIter, K::IntoIter)>[src]

impl<A: IntoIterator, B: IntoIterator, C: IntoIterator, D: IntoIterator, E: IntoIterator, F: IntoIterator, G: IntoIterator, H: IntoIterator, I: IntoIterator, J: IntoIterator> From<(A, B, C, D, E, F, G, H, I, J)> for Zip<(A::IntoIter, B::IntoIter, C::IntoIter, D::IntoIter, E::IntoIter, F::IntoIter, G::IntoIter, H::IntoIter, I::IntoIter, J::IntoIter)>[src]

impl<A: IntoIterator, B: IntoIterator, C: IntoIterator, D: IntoIterator, E: IntoIterator, F: IntoIterator, G: IntoIterator, H: IntoIterator, I: IntoIterator> From<(A, B, C, D, E, F, G, H, I)> for Zip<(A::IntoIter, B::IntoIter, C::IntoIter, D::IntoIter, E::IntoIter, F::IntoIter, G::IntoIter, H::IntoIter, I::IntoIter)>[src]

impl<A: IntoIterator, B: IntoIterator, C: IntoIterator, D: IntoIterator, E: IntoIterator, F: IntoIterator, G: IntoIterator, H: IntoIterator> From<(A, B, C, D, E, F, G, H)> for Zip<(A::IntoIter, B::IntoIter, C::IntoIter, D::IntoIter, E::IntoIter, F::IntoIter, G::IntoIter, H::IntoIter)>[src]

impl<A: IntoIterator, B: IntoIterator, C: IntoIterator, D: IntoIterator, E: IntoIterator, F: IntoIterator, G: IntoIterator> From<(A, B, C, D, E, F, G)> for Zip<(A::IntoIter, B::IntoIter, C::IntoIter, D::IntoIter, E::IntoIter, F::IntoIter, G::IntoIter)>[src]

impl<A: IntoIterator, B: IntoIterator, C: IntoIterator, D: IntoIterator, E: IntoIterator, F: IntoIterator> From<(A, B, C, D, E, F)> for Zip<(A::IntoIter, B::IntoIter, C::IntoIter, D::IntoIter, E::IntoIter, F::IntoIter)>[src]

impl<A: IntoIterator, B: IntoIterator, C: IntoIterator, D: IntoIterator, E: IntoIterator> From<(A, B, C, D, E)> for Zip<(A::IntoIter, B::IntoIter, C::IntoIter, D::IntoIter, E::IntoIter)>[src]

impl<A: IntoIterator, B: IntoIterator, C: IntoIterator, D: IntoIterator> From<(A, B, C, D)> for Zip<(A::IntoIter, B::IntoIter, C::IntoIter, D::IntoIter)>[src]

impl<A: IntoIterator, B: IntoIterator, C: IntoIterator> From<(A, B, C)> for Zip<(A::IntoIter, B::IntoIter, C::IntoIter)>[src]

impl<A: IntoIterator, B: IntoIterator> From<(A, B)> for Zip<(A::IntoIter, B::IntoIter)>[src]

impl<A: IntoIterator> From<(A,)> for Zip<(A::IntoIter,)>[src]

impl<A> Iterator for Zip<(A,)> where
    A: Iterator
[src]

type Item = (A::Item,)

The type of the elements being iterated over.

impl<A, B> Iterator for Zip<(A, B)> where
    A: Iterator,
    B: Iterator
[src]

type Item = (A::Item, B::Item)

The type of the elements being iterated over.

impl<A, B, C, D, E, F, G, H, I, J, K> Iterator for Zip<(A, B, C, D, E, F, G, H, I, J, K)> where
    A: Iterator,
    B: Iterator,
    C: Iterator,
    D: Iterator,
    E: Iterator,
    F: Iterator,
    G: Iterator,
    H: Iterator,
    I: Iterator,
    J: Iterator,
    K: Iterator
[src]

type Item = (A::Item, B::Item, C::Item, D::Item, E::Item, F::Item, G::Item, H::Item, I::Item, J::Item, K::Item)

The type of the elements being iterated over.

impl<A, B, C, D, E, F, G, H, I, J, K, L> Iterator for Zip<(A, B, C, D, E, F, G, H, I, J, K, L)> where
    A: Iterator,
    B: Iterator,
    C: Iterator,
    D: Iterator,
    E: Iterator,
    F: Iterator,
    G: Iterator,
    H: Iterator,
    I: Iterator,
    J: Iterator,
    K: Iterator,
    L: Iterator
[src]

type Item = (A::Item, B::Item, C::Item, D::Item, E::Item, F::Item, G::Item, H::Item, I::Item, J::Item, K::Item, L::Item)

The type of the elements being iterated over.

impl<A, B, C> Iterator for Zip<(A, B, C)> where
    A: Iterator,
    B: Iterator,
    C: Iterator
[src]

type Item = (A::Item, B::Item, C::Item)

The type of the elements being iterated over.

impl<A, B, C, D> Iterator for Zip<(A, B, C, D)> where
    A: Iterator,
    B: Iterator,
    C: Iterator,
    D: Iterator
[src]

type Item = (A::Item, B::Item, C::Item, D::Item)

The type of the elements being iterated over.

impl<A, B, C, D, E> Iterator for Zip<(A, B, C, D, E)> where
    A: Iterator,
    B: Iterator,
    C: Iterator,
    D: Iterator,
    E: Iterator
[src]

type Item = (A::Item, B::Item, C::Item, D::Item, E::Item)

The type of the elements being iterated over.

impl<A, B, C, D, E, F> Iterator for Zip<(A, B, C, D, E, F)> where
    A: Iterator,
    B: Iterator,
    C: Iterator,
    D: Iterator,
    E: Iterator,
    F: Iterator
[src]

type Item = (A::Item, B::Item, C::Item, D::Item, E::Item, F::Item)

The type of the elements being iterated over.

impl<A, B, C, D, E, F, G> Iterator for Zip<(A, B, C, D, E, F, G)> where
    A: Iterator,
    B: Iterator,
    C: Iterator,
    D: Iterator,
    E: Iterator,
    F: Iterator,
    G: Iterator
[src]

type Item = (A::Item, B::Item, C::Item, D::Item, E::Item, F::Item, G::Item)

The type of the elements being iterated over.

impl<A, B, C, D, E, F, G, H> Iterator for Zip<(A, B, C, D, E, F, G, H)> where
    A: Iterator,
    B: Iterator,
    C: Iterator,
    D: Iterator,
    E: Iterator,
    F: Iterator,
    G: Iterator,
    H: Iterator
[src]

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

The type of the elements being iterated over.

impl<A, B, C, D, E, F, G, H, I> Iterator for Zip<(A, B, C, D, E, F, G, H, I)> where
    A: Iterator,
    B: Iterator,
    C: Iterator,
    D: Iterator,
    E: Iterator,
    F: Iterator,
    G: Iterator,
    H: Iterator,
    I: Iterator
[src]

type Item = (A::Item, B::Item, C::Item, D::Item, E::Item, F::Item, G::Item, H::Item, I::Item)

The type of the elements being iterated over.

impl<A, B, C, D, E, F, G, H, I, J> Iterator for Zip<(A, B, C, D, E, F, G, H, I, J)> where
    A: Iterator,
    B: Iterator,
    C: Iterator,
    D: Iterator,
    E: Iterator,
    F: Iterator,
    G: Iterator,
    H: Iterator,
    I: Iterator,
    J: Iterator
[src]

type Item = (A::Item, B::Item, C::Item, D::Item, E::Item, F::Item, G::Item, H::Item, I::Item, J::Item)

The type of the elements being iterated over.

Auto Trait Implementations

impl<T> RefUnwindSafe for Zip<T> where
    T: RefUnwindSafe

impl<T> Send for Zip<T> where
    T: Send

impl<T> Sync for Zip<T> where
    T: Sync

impl<T> Unpin for Zip<T> where
    T: Unpin

impl<T> UnwindSafe for Zip<T> where
    T: 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.