pub trait Lerp: Bounded + NumCast {
type Ratio: Primitive;
// Provided method
fn lerp(a: Self, b: Self, ratio: Self::Ratio) -> Self { ... }
}
Expand description
Linear interpolation without involving floating numbers.
Required Associated Types§
Provided Methods§
Object Safety§
This trait is not object safe.