pub trait Geometric<T> {
// Required methods
fn scalar_product(&self, other: &Self) -> T;
fn abs_scalar_product(&self, other: &Self) -> T
where T: Signed;
fn norm_squared(&self) -> T;
}
Required Methods§
fn scalar_product(&self, other: &Self) -> T
fn abs_scalar_product(&self, other: &Self) -> Twhere
T: Signed,
fn norm_squared(&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.