Enum minterpolate::InterpolationFunction[][src]

pub enum InterpolationFunction<T> where
    T: InterpolationPrimitive
{ Linear, SphericalLinear, QuasiSphericalLinear, Step, CatmullRomSpline, CubicSpline, Function(fn(_: f32, _: &[f32], _: &[T], _: bool) -> T), }

Supported interpolation functions

Variants

Linear interpolation

Spherical linear interpolation

Quasi spherical linear interpolation

Step interpolation

Catmull-Rom spline interpolation

Cubic Hermite spline interpolation

Generic function

Methods

impl<T> InterpolationFunction<T> where
    T: InterpolationPrimitive + Copy
[src]

Trait Implementations

impl<T: Clone> Clone for InterpolationFunction<T> where
    T: InterpolationPrimitive
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Debug for InterpolationFunction<T> where
    T: InterpolationPrimitive
[src]

Formats the value using the given formatter. Read more

impl<T> PartialEq for InterpolationFunction<T> where
    T: InterpolationPrimitive
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations