pub trait IsLerpingMethod: Clone {
// Required methods
fn has_lerp_stepped(&self) -> bool;
fn partial_lerp_pct(&self, i: usize, total: usize) -> f64;
fn lerp_pct(&self) -> f64;
fn with_lerp_pct(&self, pct: f64) -> Self;
}Required Methods§
fn has_lerp_stepped(&self) -> bool
fn partial_lerp_pct(&self, i: usize, total: usize) -> f64
fn lerp_pct(&self) -> f64
fn with_lerp_pct(&self, pct: f64) -> Self
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.