[][src]Struct amadeus_core::par_sink::MinBy

#[must_use]pub struct MinBy<I, F> { /* fields omitted */ }

Implementations

impl<I, F> MinBy<I, F>[src]

pub fn new(i: I, f: F) -> Self[src]

Constructs a new MinBy.

Trait Implementations

impl<I: ParallelPipe<Source>, Source, F> DistributedSink<Source> for MinBy<I, F> where
    F: FnMut(&I::Item, &I::Item) -> Ordering + Clone + Send + 'static,
    I::Item: Send + 'static, 
[src]

type Output = <Self::ReduceC as Reducer>::Output

type Pipe = I

type ReduceAFactory = FolderSyncReducerFactory<I::Item, MinBy<I::Item, F>>

type ReduceBFactory = FolderSyncReducerFactory<<Self::ReduceA as Reducer>::Output, MinBy<I::Item, F>>

type ReduceA = FolderSyncReducer<I::Item, MinBy<I::Item, F>>

type ReduceB = FolderSyncReducer<<Self::ReduceA as Reducer>::Output, MinBy<I::Item, F>>

type ReduceC = FolderSyncReducer<<Self::ReduceB as Reducer>::Output, MinBy<I::Item, F>>

impl<I: ParallelPipe<Source>, Source, F> ParallelSink<Source> for MinBy<I, F> where
    F: FnMut(&I::Item, &I::Item) -> Ordering + Clone + Send + 'static,
    I::Item: Send + 'static, 
[src]

type Output = <Self::ReduceC as Reducer>::Output

type Pipe = I

type ReduceAFactory = FolderSyncReducerFactory<I::Item, MinBy<I::Item, F>>

type ReduceA = FolderSyncReducer<I::Item, MinBy<I::Item, F>>

type ReduceC = FolderSyncReducer<<Self::ReduceA as Reducer>::Output, MinBy<I::Item, F>>

Auto Trait Implementations

impl<I, F> RefUnwindSafe for MinBy<I, F> where
    F: RefUnwindSafe,
    I: RefUnwindSafe

impl<I, F> Send for MinBy<I, F> where
    F: Send,
    I: Send

impl<I, F> Sync for MinBy<I, F> where
    F: Sync,
    I: Sync

impl<I, F> Unpin for MinBy<I, F> where
    F: Unpin,
    I: Unpin

impl<I, F> UnwindSafe for MinBy<I, F> where
    F: UnwindSafe,
    I: 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, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> From<T> for T[src]

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

impl<T> IntersectPlusUnionIsPlus for T where
    T: ?Sized
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

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>,