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