pub trait FloatVector<F>: Vector<F>{
// Provided methods
fn length(&self) -> F { ... }
fn normalize(&self) -> Self { ... }
fn distance(&self, rhs: &Self) -> F { ... }
}
Provided Methods§
fn length(&self) -> F
fn normalize(&self) -> Self
fn distance(&self, rhs: &Self) -> F
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.