[−][src]Struct amadeus::dist_iter::Map
Trait Implementations
impl<I, F, R, Source> DistributedIteratorMulti<Source> for Map<I, F> where
F: FnMut(<I as DistributedIteratorMulti<Source>>::Item) -> R + Clone + ProcessSend,
I: DistributedIteratorMulti<Source>,
[src]
F: FnMut(<I as DistributedIteratorMulti<Source>>::Item) -> R + Clone + ProcessSend,
I: DistributedIteratorMulti<Source>,
type Item = R
type Task = MapConsumer<<I as DistributedIteratorMulti<Source>>::Task, F>
fn task(&self) -> <Map<I, F> as DistributedIteratorMulti<Source>>::Task
[src]
#[must_use]
fn for_each<F>(self, f: F) -> ForEach<Self, F> where
F: FnMut(Self::Item) + Clone + ProcessSend,
Self::Item: 'static,
[src]
F: FnMut(Self::Item) + Clone + ProcessSend,
Self::Item: 'static,
#[must_use]
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item) + Clone + ProcessSend,
[src]
F: FnMut(&Self::Item) + Clone + ProcessSend,
#[must_use]
fn update<F>(self, f: F) -> Update<Self, F> where
F: FnMut(&mut Self::Item) + Clone + ProcessSend,
[src]
F: FnMut(&mut Self::Item) + Clone + ProcessSend,
#[must_use]
fn map<B, F>(self, f: F) -> Map<Self, F> where
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
[src]
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
#[must_use]
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F> where
B: IntoIterator,
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
[src]
B: IntoIterator,
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
#[must_use]
fn filter<F>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Item) -> bool + Clone + ProcessSend,
[src]
F: FnMut(&Self::Item) -> bool + Clone + ProcessSend,
#[must_use]
fn fold<ID, F, B>(self, identity: ID, op: F) -> Fold<Self, ID, F, B> where
B: ProcessSend,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + ProcessSend,
ID: FnMut() -> B + Clone + ProcessSend,
Self::Item: 'static,
[src]
B: ProcessSend,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + ProcessSend,
ID: FnMut() -> B + Clone + ProcessSend,
Self::Item: 'static,
#[must_use]
fn count(self) -> Count<Self> where
Self::Item: 'static,
[src]
Self::Item: 'static,
#[must_use]
fn sum<B>(self) -> Sum<Self, B> where
B: Sum<Self::Item> + Sum<B> + ProcessSend,
Self::Item: 'static,
[src]
B: Sum<Self::Item> + Sum<B> + ProcessSend,
Self::Item: 'static,
#[must_use]
fn combine<F>(self, f: F) -> Combine<Self, F> where
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + ProcessSend,
Self::Item: ProcessSend,
[src]
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + ProcessSend,
Self::Item: ProcessSend,
#[must_use]
fn max(self) -> Max<Self> where
Self::Item: Ord,
Self::Item: ProcessSend,
[src]
Self::Item: Ord,
Self::Item: ProcessSend,
#[must_use]
fn max_by<F>(self, f: F) -> MaxBy<Self, F> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
#[must_use]
fn max_by_key<F, B>(self, f: F) -> MaxByKey<Self, F> where
B: Ord + 'static,
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
Self::Item: ProcessSend,
[src]
B: Ord + 'static,
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
Self::Item: ProcessSend,
#[must_use]
fn min(self) -> Min<Self> where
Self::Item: Ord,
Self::Item: ProcessSend,
[src]
Self::Item: Ord,
Self::Item: ProcessSend,
#[must_use]
fn min_by<F>(self, f: F) -> MinBy<Self, F> where
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
#[must_use]
fn min_by_key<F, B>(self, f: F) -> MinByKey<Self, F> where
B: Ord + 'static,
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
Self::Item: ProcessSend,
[src]
B: Ord + 'static,
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
Self::Item: ProcessSend,
#[must_use]
fn most_frequent(
self,
n: usize,
probability: f64,
tolerance: f64
) -> MostFrequent<Self> where
Self::Item: Hash,
Self::Item: Eq,
Self::Item: Clone,
Self::Item: ProcessSend,
[src]
self,
n: usize,
probability: f64,
tolerance: f64
) -> MostFrequent<Self> where
Self::Item: Hash,
Self::Item: Eq,
Self::Item: Clone,
Self::Item: ProcessSend,
#[must_use]
fn most_distinct<A, B>(
self,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> MostDistinct<Self> where
A: Hash + Eq + Clone + ProcessSend,
B: Hash + 'static,
Self: DistributedIteratorMulti<Source, Item = (A, B)>,
[src]
self,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> MostDistinct<Self> where
A: Hash + Eq + Clone + ProcessSend,
B: Hash + 'static,
Self: DistributedIteratorMulti<Source, Item = (A, B)>,
#[must_use]
fn sample_unstable(self, samples: usize) -> SampleUnstable<Self> where
Self::Item: ProcessSend,
[src]
Self::Item: ProcessSend,
#[must_use]
fn all<F>(self, f: F) -> All<Self, F> where
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
[src]
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
#[must_use]
fn any<F>(self, f: F) -> Any<Self, F> where
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
[src]
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
#[must_use]
fn collect<B>(self) -> Collect<Self, B> where
B: FromDistributedIterator<Self::Item>,
[src]
B: FromDistributedIterator<Self::Item>,
#[must_use]
fn cloned<'a, T>(self) -> Cloned<Self, T, Source> where
Self: DistributedIteratorMulti<&'a Source, Item = &'a T>,
Source: 'a,
T: Clone + 'a,
[src]
Self: DistributedIteratorMulti<&'a Source, Item = &'a T>,
Source: 'a,
T: Clone + 'a,
impl<I, F, R> DistributedIterator for Map<I, F> where
F: FnMut(<I as DistributedIterator>::Item) -> R + Clone + ProcessSend,
I: DistributedIterator,
[src]
F: FnMut(<I as DistributedIterator>::Item) -> R + Clone + ProcessSend,
I: DistributedIterator,
type Item = R
type Task = MapConsumer<<I as DistributedIterator>::Task, F>
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn next_task(&mut self) -> Option<<Map<I, F> as DistributedIterator>::Task>
[src]
fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnMut(&Self::Item) + Clone + ProcessSend,
[src]
F: FnMut(&Self::Item) + Clone + ProcessSend,
fn update<F>(self, f: F) -> Update<Self, F> where
F: FnMut(&mut Self::Item) + Clone + ProcessSend,
[src]
F: FnMut(&mut Self::Item) + Clone + ProcessSend,
fn map<B, F>(self, f: F) -> Map<Self, F> where
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
[src]
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
fn flat_map<B, F>(self, f: F) -> FlatMap<Self, F> where
B: IntoIterator,
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
[src]
B: IntoIterator,
F: FnMut(Self::Item) -> B + Clone + ProcessSend,
fn filter<F>(self, f: F) -> Filter<Self, F> where
F: FnMut(&Self::Item) -> bool + Clone + ProcessSend,
[src]
F: FnMut(&Self::Item) -> bool + Clone + ProcessSend,
fn chain<C>(self, chain: C) -> Chain<Self, <C as IntoDistributedIterator>::Iter> where
C: IntoDistributedIterator<Item = Self::Item>,
[src]
C: IntoDistributedIterator<Item = Self::Item>,
fn reduce<B, R1F, R1, R2>(
self,
pool: &impl ProcessPool,
reduce1factory: R1F,
reduce2: R2
) -> B where
R1: ReducerA<Item = Self::Item>,
R1F: ReduceFactory<Reducer = R1>,
R2: Reducer<Item = <R1 as ReducerA>::Output, Output = B>,
[src]
self,
pool: &impl ProcessPool,
reduce1factory: R1F,
reduce2: R2
) -> B where
R1: ReducerA<Item = Self::Item>,
R1F: ReduceFactory<Reducer = R1>,
R2: Reducer<Item = <R1 as ReducerA>::Output, Output = B>,
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: DistributedIteratorMulti<&'a Self::Item> + 'static,
ReducerA: DistributedReducer<IteratorA, Self::Item, A>,
ReducerB: DistributedReducer<IteratorB, &'a Self::Item, B>,
Self::Item: 'static,
[src]
self,
pool: &impl ProcessPool,
reducer_a: ReducerA,
reducer_b: ReducerB
) -> (A, B) where
IteratorA: DistributedIteratorMulti<Self::Item>,
IteratorB: DistributedIteratorMulti<&'a Self::Item> + 'static,
ReducerA: DistributedReducer<IteratorA, Self::Item, A>,
ReducerB: DistributedReducer<IteratorB, &'a Self::Item, B>,
Self::Item: 'static,
fn for_each<F>(self, pool: &impl ProcessPool, f: F) where
F: FnMut(Self::Item) + Clone + ProcessSend,
Self::Item: 'static,
[src]
F: FnMut(Self::Item) + Clone + ProcessSend,
Self::Item: 'static,
fn fold<ID, F, B>(self, pool: &impl ProcessPool, identity: ID, op: F) -> B where
B: ProcessSend,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + ProcessSend,
ID: FnMut() -> B + Clone + ProcessSend,
Self::Item: 'static,
[src]
B: ProcessSend,
F: FnMut(B, Either<Self::Item, B>) -> B + Clone + ProcessSend,
ID: FnMut() -> B + Clone + ProcessSend,
Self::Item: 'static,
fn count(self, pool: &impl ProcessPool) -> usize where
Self::Item: 'static,
[src]
Self::Item: 'static,
fn sum<S>(self, pool: &impl ProcessPool) -> S where
S: Sum<Self::Item> + Sum<S> + ProcessSend,
Self::Item: 'static,
[src]
S: Sum<Self::Item> + Sum<S> + ProcessSend,
Self::Item: 'static,
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,
[src]
F: FnMut(Self::Item, Self::Item) -> Self::Item + Clone + ProcessSend,
Self::Item: ProcessSend,
fn max(self, pool: &impl ProcessPool) -> Option<Self::Item> where
Self::Item: Ord,
Self::Item: ProcessSend,
[src]
Self::Item: Ord,
Self::Item: ProcessSend,
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,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
fn max_by_key<F, B>(self, pool: &impl ProcessPool, f: F) -> Option<Self::Item> where
B: Ord + 'static,
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
Self::Item: ProcessSend,
[src]
B: Ord + 'static,
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
Self::Item: ProcessSend,
fn min(self, pool: &impl ProcessPool) -> Option<Self::Item> where
Self::Item: Ord,
Self::Item: ProcessSend,
[src]
Self::Item: Ord,
Self::Item: ProcessSend,
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,
[src]
F: FnMut(&Self::Item, &Self::Item) -> Ordering + Clone + ProcessSend,
Self::Item: ProcessSend,
fn min_by_key<F, B>(self, pool: &impl ProcessPool, f: F) -> Option<Self::Item> where
B: Ord + 'static,
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
Self::Item: ProcessSend,
[src]
B: Ord + 'static,
F: FnMut(&Self::Item) -> B + Clone + ProcessSend,
Self::Item: ProcessSend,
fn most_frequent(
self,
pool: &impl ProcessPool,
n: usize,
probability: f64,
tolerance: f64
) -> Top<Self::Item, usize> where
Self::Item: Hash,
Self::Item: Eq,
Self::Item: Clone,
Self::Item: ProcessSend,
[src]
self,
pool: &impl ProcessPool,
n: usize,
probability: f64,
tolerance: f64
) -> Top<Self::Item, usize> where
Self::Item: Hash,
Self::Item: Eq,
Self::Item: Clone,
Self::Item: ProcessSend,
fn most_distinct<A, B>(
self,
pool: &impl ProcessPool,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> Top<A, HyperLogLogMagnitude<B>> where
A: Hash + Eq + Clone + ProcessSend,
B: Hash + 'static,
Self: DistributedIterator<Item = (A, B)>,
[src]
self,
pool: &impl ProcessPool,
n: usize,
probability: f64,
tolerance: f64,
error_rate: f64
) -> Top<A, HyperLogLogMagnitude<B>> where
A: Hash + Eq + Clone + ProcessSend,
B: Hash + 'static,
Self: DistributedIterator<Item = (A, B)>,
fn sample_unstable(
self,
pool: &impl ProcessPool,
samples: usize
) -> SampleUnstable<Self::Item> where
Self::Item: ProcessSend,
[src]
self,
pool: &impl ProcessPool,
samples: usize
) -> SampleUnstable<Self::Item> where
Self::Item: ProcessSend,
fn all<F>(self, pool: &impl ProcessPool, f: F) -> bool where
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
[src]
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
fn any<F>(self, pool: &impl ProcessPool, f: F) -> bool where
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
[src]
F: FnMut(Self::Item) -> bool + Clone + ProcessSend,
Self::Item: 'static,
fn collect<B>(self, pool: &impl ProcessPool) -> B where
B: FromDistributedIterator<Self::Item>,
<B as FromDistributedIterator<Self::Item>>::ReduceA: ProcessSend,
[src]
B: FromDistributedIterator<Self::Item>,
<B as FromDistributedIterator<Self::Item>>::ReduceA: ProcessSend,
Auto Trait Implementations
impl<I, F> Send for Map<I, F> where
F: Send,
I: Send,
F: Send,
I: Send,
impl<I, F> Sync for Map<I, F> where
F: Sync,
I: Sync,
F: Sync,
I: Sync,
impl<I, F> Unpin for Map<I, F> where
F: Unpin,
I: Unpin,
F: Unpin,
I: Unpin,
impl<I, F> UnwindSafe for Map<I, F> where
F: UnwindSafe,
I: UnwindSafe,
F: UnwindSafe,
I: UnwindSafe,
impl<I, F> RefUnwindSafe for Map<I, F> where
F: RefUnwindSafe,
I: RefUnwindSafe,
F: RefUnwindSafe,
I: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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<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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
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<A, B> Downcast<A> for B where
A: DowncastImpl<B>,
[src]
A: DowncastImpl<B>,
fn downcast(self) -> Result<A, DowncastError>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> IntersectPlusUnionIsPlus for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> FromBits<T> for T
fn from_bits(t: T) -> T
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,
fn into_bits(self) -> U
impl<T> Type for T
[src]
const METATYPE: MetaType
[src]
type Meta = Concrete
Type of metadata for type.
fn meta(&self) -> <T as Type>::Meta
[src]
fn data(&self) -> *const ()
[src]
fn data_mut(&mut self) -> *mut ()
[src]
unsafe fn uninitialized_box(<T as Type>::Meta) -> Box<T>
[src]
fn meta_type(&self) -> MetaType
[src]
impl<T> Type for T where
T: ?Sized,
[src]
T: ?Sized,
default fn meta(&self) -> <T as Type>::Meta
[src]
default fn data(&self) -> *const ()
[src]
default fn data_mut(&mut self) -> *mut ()
[src]
unsafe default fn uninitialized_box(t: <T as Type>::Meta) -> Box<T>
[src]
const METATYPE: MetaType
[src]
type Meta: 'static
fn meta_type(&self) -> MetaType
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,