Trait rugflo::FromRound [] [src]

pub trait FromRound<Val, Prec> where
    Self: Sized
{ type Round; type Ordering; fn from_round(
        val: Val,
        prec: Prec,
        round: 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