Skip to main content

EasingFunction

Trait EasingFunction 

Source
pub trait EasingFunction {
    // Required method
    fn progress(&self, t: f32) -> f32;
}

Required Methods§

Source

fn progress(&self, t: f32) -> f32

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§