pub trait IntoRate {
// Required method
fn into_rate(self) -> Rational;
}Expand description
An exchange rate accepted by set_rate — a plain integer (1), an exact LogosDecimal
(1.10), or a LogosRational. All widen losslessly onto the Rational tower so normalisation
stays exact, matching the interpreter’s set_rate builtin.