pub trait FloatVector<T>: Vector<T>where
T: FloatScalar,{
// Required methods
fn length(&self) -> T;
fn normalize(&self) -> Self;
fn distance(l: &Self, r: &Self) -> T;
}
Required Methods§
fn length(&self) -> T
fn normalize(&self) -> Self
fn distance(l: &Self, r: &Self) -> T
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.