[][src]Struct tree_automata::CombinationsOption

pub struct CombinationsOption<'a, T, F, I, E: Clone> where
    F: Fn(&'a T) -> I,
    I: 'a + Iterator<Item = E>, 
{ /* fields omitted */ }

Implementations

impl<'a, T, F, I, E: Clone> CombinationsOption<'a, T, F, I, E> where
    F: Fn(&'a T) -> I,
    I: 'a + Iterator<Item = E>, 
[src]

pub fn new(
    sources: &'a [T],
    f: F,
    weak: bool
) -> CombinationsOption<'a, T, F, I, E>

Notable traits for CombinationsOption<'a, T, F, I, E>

impl<'a, T, F, I, E: Clone> Iterator for CombinationsOption<'a, T, F, I, E> where
    F: Fn(&'a T) -> I,
    I: 'a + Iterator<Item = E>, 
type Item = Vec<Option<E>>;
[src]

Trait Implementations

impl<'a, T, F, I, E: Clone> Iterator for CombinationsOption<'a, T, F, I, E> where
    F: Fn(&'a T) -> I,
    I: 'a + Iterator<Item = E>, 
[src]

type Item = Vec<Option<E>>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, T, F, I, E> RefUnwindSafe for CombinationsOption<'a, T, F, I, E> where
    E: RefUnwindSafe,
    F: RefUnwindSafe,
    I: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, T, F, I, E> Send for CombinationsOption<'a, T, F, I, E> where
    E: Send,
    F: Send,
    I: Send,
    T: Sync

impl<'a, T, F, I, E> Sync for CombinationsOption<'a, T, F, I, E> where
    E: Sync,
    F: Sync,
    I: Sync,
    T: Sync

impl<'a, T, F, I, E> Unpin for CombinationsOption<'a, T, F, I, E> where
    E: Unpin,
    F: Unpin,
    I: Unpin

impl<'a, T, F, I, E> UnwindSafe for CombinationsOption<'a, T, F, I, E> where
    E: UnwindSafe,
    F: UnwindSafe,
    I: UnwindSafe,
    T: RefUnwindSafe

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<I> IteratorRandom for I where
    I: Iterator
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,