[][src]Trait physics2d::Cross

pub trait Cross<RHS = Self> {
    type Output;
    fn cross(self, other: RHS) -> Self::Output;
}

The vector cross product.

Associated Types

type Output

The type of the result of the cross product.

Loading content...

Required methods

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

Performs the cross product.

Loading content...

Implementations on Foreign Types

impl Cross<Vec2> for f32[src]

type Output = Vec2

impl<'a> Cross<Vec2> for &'a f32[src]

type Output = Vec2

impl<'b> Cross<&'b Vec2> for f32[src]

type Output = Vec2

impl<'a, 'b> Cross<&'b Vec2> for &'a f32[src]

type Output = Vec2

Loading content...

Implementors

impl Cross<f32> for Vec2[src]

type Output = Vec2

impl Cross<Vec2> for Vec2[src]

type Output = f32

impl<'a> Cross<f32> for &'a Vec2[src]

type Output = Vec2

impl<'a> Cross<Vec2> for &'a Vec2[src]

type Output = f32

impl<'a, 'b> Cross<&'b f32> for &'a Vec2[src]

type Output = Vec2

impl<'a, 'b> Cross<&'b Vec2> for &'a Vec2[src]

type Output = f32

impl<'b> Cross<&'b f32> for Vec2[src]

type Output = Vec2

impl<'b> Cross<&'b Vec2> for Vec2[src]

type Output = f32

Loading content...