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".

Implementors§

Source§

impl<S: Field, const N: usize> Cross for Nrml<N, S>
where Vect<N, S>: Cross,

Source§

type Output = <Vect<N, S> as Cross>::Output

Source§

impl<S: Field, const N: usize> Cross<Nrml<N, S>> for Vect<N, S>
where Self: Cross,

Source§

type Output = <Vect<N, S> as Cross>::Output

Source§

impl<S: Field, const N: usize> Cross<Vect<N, S>> for Nrml<N, S>
where Vect<N, S>: Cross,

Source§

type Output = <Vect<N, S> as Cross>::Output

Source§

impl<S: Field> Cross for Vect<2, S>

Source§

type Output = Vect<1, S>

Source§

impl<S: Field> Cross for Vect<3, S>

Source§

type Output = Vect<3, S>