cssengine

Trait Easing

Source
pub trait Easing {
    // Required method
    fn eval(&self, time: f64) -> f64;

    // Provided methods
    fn velocity(&self, time: f64) -> Option<f64> { ... }
    fn finished(&self, time: f64) -> bool { ... }
}

Required Methods§

Source

fn eval(&self, time: f64) -> f64

Provided Methods§

Source

fn velocity(&self, time: f64) -> Option<f64>

Source

fn finished(&self, time: f64) -> bool

Implementors§