pub trait Interpolator: Sized + Copy + PartialOrd {
    // Required method
    fn normalize(self, start: Self, end: Self) -> Self;
}
Expand description

Types that can be used as interpolator in splines.

An interpolator value is like the fabric on which control keys (and sampled values) live on.

Required Methods§

source

fn normalize(self, start: Self, end: Self) -> Self

Normalize the interpolator.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Interpolator for f32

source§

fn normalize(self, start: Self, end: Self) -> Self

source§

impl Interpolator for f64

source§

fn normalize(self, start: Self, end: Self) -> Self

Implementors§