Skip to main content

Cross

Trait Cross 

Source
pub trait Cross<T = Self> {
    type Output;

    // Required method
    fn cross(self, other: T) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn cross(self, other: T) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Cross for Vec3

Source§

type Output = Vec3

Source§

fn cross(self, other: Self) -> Self::Output

Source§

impl Cross for Vec3

Source§

type Output = Vec3

Source§

fn cross(self, other: Self) -> Self::Output

Source§

impl Cross for Vec3A

Source§

type Output = Vec3A

Source§

fn cross(self, other: Self) -> Self::Output

Source§

impl<T> Cross for Vector3<T>
where T: BaseFloat,

Source§

type Output = Vector3<T>

Source§

fn cross(self, other: Self) -> Self::Output

Source§

impl<T> Cross for Vector3<T>
where T: Copy + Neg<Output = T> + Num,

Source§

type Output = Vector3<T>

Source§

fn cross(self, other: Self) -> Self::Output

Source§

impl<T> Cross for Vector3<T>
where T: Copy + Num + Scalar, <<T as Mul>::Output as Sub>::Output: Neg<Output = T>,

Source§

type Output = Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>

Source§

fn cross(self, other: Self) -> Self::Output

Implementors§