pub trait DotProduct<Rhs = Self>: CoordinatePrimitive {
type Output;
// Required method
fn dot(&self, rhs: &Rhs) -> <Self as DotProduct<Rhs>>::Output;
}Expand description
Computes a dot product between two values.
Required Associated Types§
Required Methods§
Sourcefn dot(&self, rhs: &Rhs) -> <Self as DotProduct<Rhs>>::Output
fn dot(&self, rhs: &Rhs) -> <Self as DotProduct<Rhs>>::Output
Computes the dot product.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".