pub trait SaturateRound<T>: SaturateCast<T> {
    fn saturate_floor(n: T) -> Self;
    fn saturate_ceil(n: T) -> Self;
    fn saturate_round(n: T) -> Self;
}
Expand description

Custom float to integer rounding routines.

Required Methods

Implementations on Foreign Types

Implementors