Trait rugflo::FromRound [] [src]

pub trait FromRound<T, P> where Self: Sized {
    type Round;
    type Ordering;
    fn from_round(_: T, _: P, _: Self::Round) -> (Self, Self::Ordering);
}

Construct Self via a conversion with a specified precision, applying the specified rounding method.

Associated Types

The rounding method.

The direction from rounding.

Required Methods

Performs the conversion.

Implementors