pub trait Tween: Debug + Copy {
// Required method
fn tween(&self, p: f32) -> f32;
}Expand description
A trait that all ease’s need to implement to be used.
Required Methods§
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.