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
Linear interpolation
SphericalLinear
Spherical linear interpolation
QuasiSphericalLinear
Quasi spherical linear interpolation
Step
Step interpolation
CatmullRomSpline
Catmull-Rom spline interpolation
CubicSpline
Cubic Hermite spline interpolation
Function(fn(_: f32, _: &[f32], _: &[T], _: bool) -> T)
Generic function
Methods
impl<T> InterpolationFunction<T> where
T: InterpolationPrimitive + Copy,
[src]
impl<T> InterpolationFunction<T> where
T: InterpolationPrimitive + Copy,
Trait Implementations
impl<T: Clone> Clone for InterpolationFunction<T> where
T: InterpolationPrimitive,
[src]
impl<T: Clone> Clone for InterpolationFunction<T> where
T: InterpolationPrimitive,
fn clone(&self) -> InterpolationFunction<T>
[src]
fn clone(&self) -> InterpolationFunction<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T> Debug for InterpolationFunction<T> where
T: InterpolationPrimitive,
[src]
impl<T> Debug for InterpolationFunction<T> where
T: InterpolationPrimitive,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> PartialEq for InterpolationFunction<T> where
T: InterpolationPrimitive,
[src]
impl<T> PartialEq for InterpolationFunction<T> where
T: InterpolationPrimitive,
Auto Trait Implementations
impl<T> Send for InterpolationFunction<T>
impl<T> Send for InterpolationFunction<T>
impl<T> Sync for InterpolationFunction<T>
impl<T> Sync for InterpolationFunction<T>