pub trait FloatExt {
// Required methods
fn square(self) -> Self;
fn lerp(self, other: Self, t: Self) -> Self;
}
Expand description
Trait to use the following functions on the float primitives.
Here for convenience.
Required Methods§
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.