pub trait Easing {
// Required method
fn ease(&self, p: i32) -> i32;
}Expand description
A curve: how far along a value is, p of the way through.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".