Enum amethyst_animation::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<'de, T> Deserialize<'de> for InterpolationFunction<T> where
    T: InterpolationPrimitive
[src]

Deserialize this value from the given Serde deserializer. Read more

impl<T> Clone for InterpolationFunction<T> where
    T: Clone + 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> Serialize for InterpolationFunction<T> where
    T: InterpolationPrimitive
[src]

Serialize this value into the given Serde serializer. Read more

impl<T> PartialEq<InterpolationFunction<T>> 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