Skip to main content

F64Ext

Trait F64Ext 

Source
pub trait F64Ext {
    // Required method
    fn ext_lerp(self, other: f64, t: f64) -> f64;
}
Expand description

An extension trait for f32.

Required Methods§

Source

fn ext_lerp(self, other: f64, t: f64) -> f64

Linearly interpolate between self and other with parameter t.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl F64Ext for f64

Source§

fn ext_lerp(self, other: f64, t: f64) -> f64

Implementors§