pub trait Round {
    fn round(&self, to: &Self, strategy: RoundingStrategy) -> Self;
}
Expand description

A trait for values that can be rounded.

Required Methods

Rounds a value to a multiple of to using the given rounding strategy.

Implementors