pub struct MaxAccumulator { /* private fields */ }
Expand description

An accumulator to compute the maximum value

Implementations

new max accumulator

Trait Implementations

updates the accumulator’s state from a vector of arrays.

updates the accumulator’s state from a vector of states.

Returns the state of the accumulator at the end of the accumulation. in the case of an average on which we track sum and n, this function should return a vector of two values, sum and n. Read more

returns its value based on its current state.

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.