Skip to main content

Lerp

Trait Lerp 

pub trait Lerp {
    // Required method
    fn lerp(self, other: Self, t: f32) -> Self;
}

Required Methods§

fn lerp(self, other: Self, t: 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§

§

impl Lerp for f32

§

fn lerp(self, b: f32, t: f32) -> f32

§

impl Lerp for f64

§

fn lerp(self, b: f64, t: f32) -> f64

Implementors§