[][src]Struct itertools::structs::ZipLongest

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

An iterator which iterates two other iterators simultaneously

This iterator is fused.

See .zip_longest() for more information.

Trait Implementations

impl<T: Clone, U: Clone> Clone for ZipLongest<T, U>[src]

impl<T: Debug, U: Debug> Debug for ZipLongest<T, U>[src]

impl<T, U> DoubleEndedIterator for ZipLongest<T, U> where
    T: DoubleEndedIterator + ExactSizeIterator,
    U: DoubleEndedIterator + ExactSizeIterator
[src]

impl<T, U> ExactSizeIterator for ZipLongest<T, U> where
    T: ExactSizeIterator,
    U: ExactSizeIterator
[src]

impl<T, U> Iterator for ZipLongest<T, U> where
    T: Iterator,
    U: Iterator
[src]

type Item = EitherOrBoth<T::Item, U::Item>

The type of the elements being iterated over.

Auto Trait Implementations

impl<T, U> RefUnwindSafe for ZipLongest<T, U> where
    T: RefUnwindSafe,
    U: RefUnwindSafe

impl<T, U> Send for ZipLongest<T, U> where
    T: Send,
    U: Send

impl<T, U> Sync for ZipLongest<T, U> where
    T: Sync,
    U: Sync

impl<T, U> Unpin for ZipLongest<T, U> where
    T: Unpin,
    U: Unpin

impl<T, U> UnwindSafe for ZipLongest<T, U> where
    T: UnwindSafe,
    U: 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.