pub trait DotProduct<T = Self>: VectorSpace {
type Output;
// Required method
fn dot(self, other: T) -> <Self as DotProduct<T>>::Output;
}Expand description
This trait defines the dot product.
Required Associated Types§
Required Methods§
Sourcefn dot(self, other: T) -> <Self as DotProduct<T>>::Output
fn dot(self, other: T) -> <Self as DotProduct<T>>::Output
The dot product.
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.