Struct accurate::sum::SumFolder [] [src]

pub struct SumFolder<Acc>(_);

Adapts a SumAccumulator into a Folder

Trait Implementations

impl<Acc: Copy> Copy for SumFolder<Acc>
[src]

impl<Acc: Clone> Clone for SumFolder<Acc>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<Acc: Debug> Debug for SumFolder<Acc>
[src]

[src]

Formats the value using the given formatter. Read more

impl<Acc, F> Folder<F> for SumFolder<Acc> where
    Acc: SumAccumulator<F>, 
[src]

The type of result that will ultimately be produced by the folder.

[src]

Consume next item and return new sequential state.

[src]

Finish consuming items, produce final result.

[src]

Hint whether this Folder would like to stop processing further items, e.g. if a search has been completed. Read more

[src]

Consume items from the iterator until full, and return new sequential state. Read more

Auto Trait Implementations

impl<Acc> Send for SumFolder<Acc> where
    Acc: Send

impl<Acc> Sync for SumFolder<Acc> where
    Acc: Sync