pub trait CrossProduct<Rhs>: Sized {
type Result;
// Required method
fn gcross(&self, rhs: Rhs) -> Self::Result;
}Expand description
Trait for computing generalized cross products.
Required Associated Types§
Required Methods§
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.
Implementations on Foreign Types§
Source§impl CrossProduct<Vec2> for f32
Available on crate feature dim2 only.
impl CrossProduct<Vec2> for f32
Available on crate feature
dim2 only.Source§impl<T: SimdRealField + Copy> CrossProduct<Matrix<T, Const<2>, Const<1>, ArrayStorage<T, 2, 1>>> for Vector2<T>
impl<T: SimdRealField + Copy> CrossProduct<Matrix<T, Const<2>, Const<1>, ArrayStorage<T, 2, 1>>> for Vector2<T>
Source§impl<T: SimdRealField + Copy> CrossProduct<Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>> for Vector3<T>
impl<T: SimdRealField + Copy> CrossProduct<Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>> for Vector3<T>
Implementors§
Source§impl CrossProduct<Vec2> for Vector
Available on crate feature dim2 only.
impl CrossProduct<Vec2> for Vector
Available on crate feature
dim2 only.