pub trait Bezier<V>: Copy + Sized {
// Required methods
fn lerp(self, a: V, b: V) -> V;
fn bezier2(self, a: V, h: V, b: V) -> V;
fn bezier3(self, a: V, h0: V, h1: V, b: V) -> V;
fn bezier4(self, a: V, h0: V, h1: V, h2: V, b: V) -> V;
}Required Methods§
fn lerp(self, a: V, b: V) -> V
fn bezier2(self, a: V, h: V, b: V) -> V
fn bezier3(self, a: V, h0: V, h1: V, b: V) -> V
fn bezier4(self, a: V, h0: V, h1: V, h2: V, b: V) -> V
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.