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".
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>
Available on non-SPIR-V only.
impl<T: SimdRealField + Copy> CrossProduct<Matrix<T, Const<2>, Const<1>, ArrayStorage<T, 2, 1>>> for Vector2<T>
Available on non-SPIR-V only.
Source§impl<T: SimdRealField + Copy> CrossProduct<Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>> for Vector3<T>
Available on non-SPIR-V only.
impl<T: SimdRealField + Copy> CrossProduct<Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>> for Vector3<T>
Available on non-SPIR-V only.
Implementors§
Source§impl CrossProduct<Vec2> for Vector
Available on crate feature dim2 only.
impl CrossProduct<Vec2> for Vector
Available on crate feature
dim2 only.Source§impl<T: SimdRealField + Copy> CrossProduct<Matrix<T, Const<2>, Const<1>, ArrayStorage<T, 2, 1>>> for T
Available on non-SPIR-V only.
impl<T: SimdRealField + Copy> CrossProduct<Matrix<T, Const<2>, Const<1>, ArrayStorage<T, 2, 1>>> for T
Available on non-SPIR-V only.
Source§impl<T: SimdRealField + Copy> CrossProduct<Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>> for T
Available on non-SPIR-V only.
impl<T: SimdRealField + Copy> CrossProduct<Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>> for T
Available on non-SPIR-V only.