[][src]Struct iter_set::ClassifyBy

pub struct ClassifyBy<L, R, F> where
    L: Iterator,
    R: Iterator
{ /* fields omitted */ }

An iterator that interleaves two sorted, deduplicated iterators in sorted order and classifies each element according to its source, using a comparator function.

This struct is created by the classify_by() function. See its documentation for more.

Trait Implementations

impl<L, R, F> Debug for ClassifyBy<L, R, F> where
    L: Debug + Iterator,
    R: Debug + Iterator
[src]

impl<T, L, R, F> Iterator for ClassifyBy<L, R, F> where
    L: Iterator<Item = T>,
    R: Iterator<Item = T>,
    F: FnMut(&mut T, &mut T) -> Ordering
[src]

type Item = Inclusion<T>

The type of the elements being iterated over.

Auto Trait Implementations

impl<L, R, F> Send for ClassifyBy<L, R, F> where
    F: Send,
    L: Send,
    R: Send,
    <L as Iterator>::Item: Send,
    <R as Iterator>::Item: Send

impl<L, R, F> Sync for ClassifyBy<L, R, F> where
    F: Sync,
    L: Sync,
    R: Sync,
    <L as Iterator>::Item: Sync,
    <R as Iterator>::Item: Sync

impl<L, R, F> Unpin for ClassifyBy<L, R, F> where
    F: Unpin,
    L: Unpin,
    R: Unpin,
    <L as Iterator>::Item: Unpin,
    <R as Iterator>::Item: Unpin

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.