[][src]Trait soy::Lerper

pub trait Lerper {
    fn calculate(&self, t: f32) -> f32;
}

Trait implemented by all interpolating methods.

Required methods

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

Given a timing function y = f(t), this method calculates the y value at the given t.

Loading content...

Implementors

impl Lerper for Bezier[src]

impl Lerper for Linear[src]

Loading content...