[][src]Struct path_iter::ProductIter

pub struct ProductIter<T, U, V, W> { /* fields omitted */ }

Iterates over a product of two iterator generators.

For example, [(And, Or)] (true, false) iterates over the product of [And] true and [Or] false.

Trait Implementations

impl<T, U, V, W1, W2> Iterator for ProductIter<T, U, V, W1> where
    T: Iterator<Item = W1>,
    U: Iterator<Item = W2>,
    V: Clone + IntoIterator<Item = W2, IntoIter = U>,
    W1: Clone
[src]

type Item = (W1, W2)

The type of the elements being iterated over.

Auto Trait Implementations

impl<T, U, V, W> RefUnwindSafe for ProductIter<T, U, V, W> where
    T: RefUnwindSafe,
    U: RefUnwindSafe,
    V: RefUnwindSafe,
    W: RefUnwindSafe

impl<T, U, V, W> Send for ProductIter<T, U, V, W> where
    T: Send,
    U: Send,
    V: Send,
    W: Send

impl<T, U, V, W> Sync for ProductIter<T, U, V, W> where
    T: Sync,
    U: Sync,
    V: Sync,
    W: Sync

impl<T, U, V, W> Unpin for ProductIter<T, U, V, W> where
    T: Unpin,
    U: Unpin,
    V: Unpin,
    W: Unpin

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