[−][src]Struct accurate::sum::SumConsumer
Adapts a ParallelSumAccumulator
into a Consumer
Trait Implementations
impl<Acc: Clone> Clone for SumConsumer<Acc>
[src]
fn clone(&self) -> SumConsumer<Acc>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Acc, F> Consumer<F> for SumConsumer<Acc> where
Acc: ParallelSumAccumulator<F>,
F: Zero + Send,
[src]
Acc: ParallelSumAccumulator<F>,
F: Zero + Send,
type Folder = SumFolder<Acc>
The type of folder that this consumer can be converted into.
type Reducer = AddReducer
The type of reducer that is produced if this consumer is split.
type Result = Acc
The type of result that this consumer will ultimately produce.
fn split_at(self, _index: usize) -> (Self, Self, Self::Reducer)
[src]
fn into_folder(self) -> Self::Folder
[src]
fn full(&self) -> bool
[src]
impl<Acc: Copy> Copy for SumConsumer<Acc>
[src]
impl<Acc: Debug> Debug for SumConsumer<Acc>
[src]
impl<Acc, F> UnindexedConsumer<F> for SumConsumer<Acc> where
Acc: ParallelSumAccumulator<F>,
F: Zero + Send,
[src]
Acc: ParallelSumAccumulator<F>,
F: Zero + Send,
fn split_off_left(&self) -> Self
[src]
fn to_reducer(&self) -> Self::Reducer
[src]
Auto Trait Implementations
impl<Acc> RefUnwindSafe for SumConsumer<Acc> where
Acc: RefUnwindSafe,
Acc: RefUnwindSafe,
impl<Acc> Send for SumConsumer<Acc> where
Acc: Send,
Acc: Send,
impl<Acc> Sync for SumConsumer<Acc> where
Acc: Sync,
Acc: Sync,
impl<Acc> Unpin for SumConsumer<Acc> where
Acc: Unpin,
Acc: Unpin,
impl<Acc> UnwindSafe for SumConsumer<Acc> where
Acc: UnwindSafe,
Acc: 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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut 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.
pub 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>,