Trait juxt_matrix::Cross

source ·
pub trait Cross<Rhs = Self> {
    type Output;

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

Required Associated Types§

Required Methods§

source

fn cross(self, rhs: Rhs) -> Self::Output

Implementors§

source§

impl<T> Cross for &Vector3<T>
where T: Sub<T, Output = T>, for<'a> &'a T: Mul<&'a T, Output = T>,

§

type Output = MatrixSealed<1, 3, T>

source§

impl<T> Cross for &Vector4<T>
where T: Sub<T, Output = T> + Zero<Output = T>, for<'a> &'a T: Mul<&'a T, Output = T>,

§

type Output = MatrixSealed<1, 4, T>

source§

impl<T> Cross for Vector3<T>
where T: Sub<T, Output = T> + Copy + Clone, for<'a> &'a T: Mul<&'a T, Output = T>,

§

type Output = MatrixSealed<1, 3, T>

source§

impl<T> Cross for Vector4<T>
where T: Sub<T, Output = T> + Copy + Clone + Zero<Output = T>, for<'a> &'a T: Mul<&'a T, Output = T>,

§

type Output = MatrixSealed<1, 4, T>