pub trait Rescale {
// Required methods
fn rescale<S, D>(&self, source: S, destination: D) -> i64
where S: Into<Rational>,
D: Into<Rational>;
fn rescale_with<S, D>(
&self,
source: S,
destination: D,
rounding: Rounding,
) -> i64
where S: Into<Rational>,
D: Into<Rational>;
}Required Methods§
fn rescale<S, D>(&self, source: S, destination: D) -> i64
fn rescale_with<S, D>( &self, source: S, destination: D, rounding: Rounding, ) -> i64
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.