[−][src]Struct amadeus_core::dist_iter::FlatMap
Trait Implementations
impl<I: DistributedIterator, F, R: IntoIterator> DistributedIterator for FlatMap<I, F> where
F: FnMut(I::Item) -> R + Clone + ProcessSend,
[src]
F: FnMut(I::Item) -> R + Clone + ProcessSend,
type Item = R::Item
type Task = FlatMapConsumer<I::Task, F>
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn next_task(&mut self) -> Option<Self::Task>
[src]
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item) + Clone + ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item) + Clone + ProcessSend,
Self: Sized,
fn update<F>(self, f: F) -> Update<Self, F> where
F: FnMut(&mut Self::Item) + Clone + ProcessSend,
Self: Sized,
[src]
F: FnMut(&mut Self::Item) + Clone + ProcessSend,
Self: Sized,
fn map<B, F>(self, f: F) -> Map<Self, F> where
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
Self: Sized,
[src]
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
Self: Sized,
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F> where
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
B: IntoIterator,
Self: Sized,
[src]
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
B: IntoIterator,
Self: Sized,
fn filter<F>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Item) -> bool + Clone + ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item) -> bool + Clone + ProcessSend,
Self: Sized,
fn chain<C>(self, chain: C) -> Chain<Self, C::Iter> where
C: IntoDistributedIterator<Item = Self::Item>,
Self: Sized,
[src]
C: IntoDistributedIterator<Item = Self::Item>,
Self: Sized,
fn reduce<B, R1F, R1, R2>(
self,
pool: &impl ProcessPool,
reduce1factory: R1F,
reduce2: R2
) -> B where
R1F: ReduceFactory<Reducer = R1>,
R1: ReducerA<Item = Self::Item>,
R2: Reducer<Item = <R1 as ReducerA>::Output, Output = B>,
Self: Sized,
[src]
self,
pool: &impl ProcessPool,
reduce1factory: R1F,
reduce2: R2
) -> B where
R1F: ReduceFactory<Reducer = R1>,
R1: ReducerA<Item = Self::Item>,
R2: Reducer<Item = <R1 as ReducerA>::Output, Output = B>,
Self: Sized,
fn multi<IteratorA, IteratorB, ReducerA, ReducerB, A, B>(
self,
pool: &impl ProcessPool,
reducer_a: ReducerA,
reducer_b: ReducerB
) -> (A, B) where
IteratorA: DistributedIteratorMulti<Self::Item>,
IteratorB: for<'a> DistributedIteratorMulti<&'a Self::Item> + 'static,
ReducerA: DistributedReducer<IteratorA, Self::Item, A>,
ReducerB: for<'a> DistributedReducer<IteratorB, &'a Self::Item, B>,
Self::Item: 'static,
Self: Sized,
[src]
self,
pool: &impl ProcessPool,
reducer_a: ReducerA,
reducer_b: ReducerB
) -> (A, B) where
IteratorA: DistributedIteratorMulti<Self::Item>,
IteratorB: for<'a> DistributedIteratorMulti<&'a Self::Item> + 'static,
ReducerA: DistributedReducer<IteratorA, Self::Item, A>,
ReducerB: for<'a> DistributedReducer<IteratorB, &'a Self::Item, B>,
Self::Item: 'static,
Self: Sized,
fn for_each<F>(self, pool: &impl ProcessPool, f: F) where
F: FnMut(Self::Item) + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
F: FnMut(Self::Item) + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
fn fold<ID, F, B>(self, pool: &impl ProcessPool, identity: ID, op: F) -> B where
ID: FnMut() -> B + Clone + ProcessSend,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + ProcessSend,
B: ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
ID: FnMut() -> B + Clone + ProcessSend,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + ProcessSend,
B: ProcessSend,
Self::Item: 'static,
Self: Sized,
fn count(self, pool: &impl ProcessPool) -> usize where
Self::Item: 'static,
Self: Sized,
[src]
Self::Item: 'static,
Self: Sized,
fn sum<S>(self, pool: &impl ProcessPool) -> S where
S: Sum<Self::Item> + Sum<S> + ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
S: Sum<Self::Item> + Sum<S> + ProcessSend,
Self::Item: 'static,
Self: Sized,
fn combine<F>(self, pool: &impl ProcessPool, f: F) -> Option<Self::Item> where
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
fn max(self, pool: &impl ProcessPool) -> Option<Self::Item> where
Self::Item: Ord + ProcessSend,
Self: Sized,
[src]
Self::Item: Ord + ProcessSend,
Self: Sized,
fn max_by<F>(self, pool: &impl ProcessPool, f: F) -> Option<Self::Item> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
fn max_by_key<F, B>(self, pool: &impl ProcessPool, f: F) -> Option<Self::Item> where
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
B: Ord + 'static,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
B: Ord + 'static,
Self::Item: ProcessSend,
Self: Sized,
fn min(self, pool: &impl ProcessPool) -> Option<Self::Item> where
Self::Item: Ord + ProcessSend,
Self: Sized,
[src]
Self::Item: Ord + ProcessSend,
Self: Sized,
fn min_by<F>(self, pool: &impl ProcessPool, f: F) -> Option<Self::Item> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
fn min_by_key<F, B>(self, pool: &impl ProcessPool, f: F) -> Option<Self::Item> where
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
B: Ord + 'static,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
B: Ord + 'static,
Self::Item: ProcessSend,
Self: Sized,
fn most_frequent(
self,
pool: &impl ProcessPool,
n: usize,
probability: f64,
tolerance: f64
) -> Top<Self::Item, usize> where
Self::Item: Hash + Eq + Clone + ProcessSend,
Self: Sized,
[src]
self,
pool: &impl ProcessPool,
n: usize,
probability: f64,
tolerance: f64
) -> Top<Self::Item, usize> where
Self::Item: Hash + Eq + Clone + ProcessSend,
Self: Sized,
fn most_distinct<A, B>(
self,
pool: &impl ProcessPool,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> Top<A, HyperLogLogMagnitude<B>> where
Self: DistributedIterator<Item = (A, B)> + Sized,
A: Hash + Eq + Clone + ProcessSend,
B: Hash + 'static,
[src]
self,
pool: &impl ProcessPool,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> Top<A, HyperLogLogMagnitude<B>> where
Self: DistributedIterator<Item = (A, B)> + Sized,
A: Hash + Eq + Clone + ProcessSend,
B: Hash + 'static,
fn sample_unstable(
self,
pool: &impl ProcessPool,
samples: usize
) -> SampleUnstable<Self::Item> where
Self::Item: ProcessSend,
Self: Sized,
[src]
self,
pool: &impl ProcessPool,
samples: usize
) -> SampleUnstable<Self::Item> where
Self::Item: ProcessSend,
Self: Sized,
fn all<F>(self, pool: &impl ProcessPool, f: F) -> bool where
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
fn any<F>(self, pool: &impl ProcessPool, f: F) -> bool where
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
fn collect<B>(self, pool: &impl ProcessPool) -> B where
B: FromDistributedIterator<Self::Item>,
B::ReduceA: ProcessSend,
Self: Sized,
[src]
B: FromDistributedIterator<Self::Item>,
B::ReduceA: ProcessSend,
Self: Sized,
impl<I: DistributedIteratorMulti<Source>, F, R: IntoIterator, Source> DistributedIteratorMulti<Source> for FlatMap<I, F> where
F: FnMut(<I as DistributedIteratorMulti<Source>>::Item) -> R + Clone + ProcessSend,
[src]
F: FnMut(<I as DistributedIteratorMulti<Source>>::Item) -> R + Clone + ProcessSend,
type Item = R::Item
type Task = FlatMapConsumer<I::Task, F>
fn task(&self) -> Self::Task
[src]
fn for_each<F>(self, f: F) -> ForEach<Self, F> where
F: FnMut(Self::Item) + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
F: FnMut(Self::Item) + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item) + Clone + ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item) + Clone + ProcessSend,
Self: Sized,
fn update<F>(self, f: F) -> Update<Self, F> where
F: FnMut(&mut Self::Item) + Clone + ProcessSend,
Self: Sized,
[src]
F: FnMut(&mut Self::Item) + Clone + ProcessSend,
Self: Sized,
fn map<B, F>(self, f: F) -> Map<Self, F> where
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
Self: Sized,
[src]
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
Self: Sized,
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F> where
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
B: IntoIterator,
Self: Sized,
[src]
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
B: IntoIterator,
Self: Sized,
fn filter<F>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Item) -> bool + Clone + ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item) -> bool + Clone + ProcessSend,
Self: Sized,
fn fold<ID, F, B>(self, identity: ID, op: F) -> Fold<Self, ID, F, B> where
ID: FnMut() -> B + Clone + ProcessSend,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + ProcessSend,
B: ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
ID: FnMut() -> B + Clone + ProcessSend,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + ProcessSend,
B: ProcessSend,
Self::Item: 'static,
Self: Sized,
fn count(self) -> Count<Self> where
Self::Item: 'static,
Self: Sized,
[src]
Self::Item: 'static,
Self: Sized,
fn sum<B>(self) -> Sum<Self, B> where
B: Sum<Self::Item> + Sum<B> + ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
B: Sum<Self::Item> + Sum<B> + ProcessSend,
Self::Item: 'static,
Self: Sized,
fn combine<F>(self, f: F) -> Combine<Self, F> where
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
fn max(self) -> Max<Self> where
Self::Item: Ord + ProcessSend,
Self: Sized,
[src]
Self::Item: Ord + ProcessSend,
Self: Sized,
fn max_by<F>(self, f: F) -> MaxBy<Self, F> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
fn max_by_key<F, B>(self, f: F) -> MaxByKey<Self, F> where
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
B: Ord + 'static,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
B: Ord + 'static,
Self::Item: ProcessSend,
Self: Sized,
fn min(self) -> Min<Self> where
Self::Item: Ord + ProcessSend,
Self: Sized,
[src]
Self::Item: Ord + ProcessSend,
Self: Sized,
fn min_by<F>(self, f: F) -> MinBy<Self, F> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
Self: Sized,
fn min_by_key<F, B>(self, f: F) -> MinByKey<Self, F> where
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
B: Ord + 'static,
Self::Item: ProcessSend,
Self: Sized,
[src]
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
B: Ord + 'static,
Self::Item: ProcessSend,
Self: Sized,
fn most_frequent(
self,
n: usize,
probability: f64,
tolerance: f64
) -> MostFrequent<Self> where
Self::Item: Hash + Eq + Clone + ProcessSend,
Self: Sized,
[src]
self,
n: usize,
probability: f64,
tolerance: f64
) -> MostFrequent<Self> where
Self::Item: Hash + Eq + Clone + ProcessSend,
Self: Sized,
fn most_distinct<A, B>(
self,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> MostDistinct<Self> where
Self: DistributedIteratorMulti<Source, Item = (A, B)> + Sized,
A: Hash + Eq + Clone + ProcessSend,
B: Hash + 'static,
[src]
self,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> MostDistinct<Self> where
Self: DistributedIteratorMulti<Source, Item = (A, B)> + Sized,
A: Hash + Eq + Clone + ProcessSend,
B: Hash + 'static,
fn sample_unstable(self, samples: usize) -> SampleUnstable<Self> where
Self::Item: ProcessSend,
Self: Sized,
[src]
Self::Item: ProcessSend,
Self: Sized,
fn all<F>(self, f: F) -> All<Self, F> where
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
fn any<F>(self, f: F) -> Any<Self, F> where
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
[src]
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
Self: Sized,
fn collect<B>(self) -> Collect<Self, B> where
B: FromDistributedIterator<Self::Item>,
Self: Sized,
[src]
B: FromDistributedIterator<Self::Item>,
Self: Sized,
fn cloned<'a, T>(self) -> Cloned<Self, T, Source> where
T: Clone + 'a,
Source: 'a,
Self: DistributedIteratorMulti<&'a Source, Item = &'a T> + Sized,
[src]
T: Clone + 'a,
Source: 'a,
Self: DistributedIteratorMulti<&'a Source, Item = &'a T> + Sized,
Auto Trait Implementations
impl<I, F> RefUnwindSafe for FlatMap<I, F> where
F: RefUnwindSafe,
I: RefUnwindSafe,
F: RefUnwindSafe,
I: RefUnwindSafe,
impl<I, F> Send for FlatMap<I, F> where
F: Send,
I: Send,
F: Send,
I: Send,
impl<I, F> Sync for FlatMap<I, F> where
F: Sync,
I: Sync,
F: Sync,
I: Sync,
impl<I, F> Unpin for FlatMap<I, F> where
F: Unpin,
I: Unpin,
F: Unpin,
I: Unpin,
impl<I, F> UnwindSafe for FlatMap<I, F> where
F: UnwindSafe,
I: UnwindSafe,
F: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> From<T> for T
[src]
impl<T> FromBits<T> for T
fn from_bits(t: T) -> T
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T> IntersectPlusUnionIsPlus for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,
fn into_bits(self) -> U
impl<T> IntoDistributedIterator for T where
T: DistributedIterator,
[src]
T: DistributedIterator,
type Iter = T
type Item = <T as DistributedIterator>::Item
fn into_dist_iter(Self) -> <T as IntoDistributedIterator>::Iter
[src]
fn dist_iter_mut(&mut self) -> <&mut Self as IntoDistributedIterator>::Iter where
&'a mut Self: IntoDistributedIterator,
[src]
&'a mut Self: IntoDistributedIterator,
fn dist_iter(&self) -> <&Self as IntoDistributedIterator>::Iter where
&'a Self: IntoDistributedIterator,
[src]
&'a Self: IntoDistributedIterator,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,