Skip to main content

Interpolate

Trait Interpolate 

Source
pub trait Interpolate: Copy {
    // Required method
    fn mix(from: Self, to: Self, u: f32) -> Self;
}

Required Methods§

Source

fn mix(from: Self, to: Self, u: f32) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Interpolate for f32

Source§

fn mix(from: Self, to: Self, u: f32) -> Self

Source§

impl Interpolate for Rotor4

Source§

fn mix(from: Self, to: Self, u: f32) -> Self

Source§

impl Interpolate for Vec4

Source§

fn mix(from: Self, to: Self, u: f32) -> Self

Implementors§