[][src]Struct prcn_lib::prelude::structs::UniqueBy

#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]pub struct UniqueBy<I, V, F> where
    I: Iterator
{ /* fields omitted */ }

An iterator adapter to filter out duplicate elements.

See .unique_by() for more information.

Trait Implementations

impl<I, V, F> Clone for UniqueBy<I, V, F> where
    F: Clone,
    I: Clone + Iterator,
    V: Clone
[src]

impl<I, V, F> Debug for UniqueBy<I, V, F> where
    I: Iterator + Debug,
    V: Debug + Hash + Eq
[src]

impl<I, V, F> Iterator for UniqueBy<I, V, F> where
    F: FnMut(&<I as Iterator>::Item) -> V,
    I: Iterator,
    V: Eq + Hash
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

Auto Trait Implementations

impl<I, V, F> RefUnwindSafe for UniqueBy<I, V, F> where
    F: RefUnwindSafe,
    I: RefUnwindSafe,
    V: RefUnwindSafe

impl<I, V, F> Send for UniqueBy<I, V, F> where
    F: Send,
    I: Send,
    V: Send

impl<I, V, F> Sync for UniqueBy<I, V, F> where
    F: Sync,
    I: Sync,
    V: Sync

impl<I, V, F> Unpin for UniqueBy<I, V, F> where
    F: Unpin,
    I: Unpin,
    V: Unpin

impl<I, V, F> UnwindSafe for UniqueBy<I, V, F> where
    F: UnwindSafe,
    I: UnwindSafe,
    V: 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<N, E, I> ElementIterator<N, E> for I where
    I: Iterator<Item = Element<N, E>> + ?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> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<T> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<I> ItertoolsNum for I where
    I: Iterator + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[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.

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