Trait physics2d::Cross
[−]
[src]
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.
Required Methods
Implementations on Foreign Types
impl Cross<Vec2> for f32
[src]
impl<'a> Cross<Vec2> for &'a f32
[src]
impl<'b> Cross<&'b Vec2> for f32
[src]
impl<'a, 'b> Cross<&'b Vec2> for &'a f32
[src]
Implementors
impl Cross for Vec2 type Output = f32;
impl<'a> Cross<Vec2> for &'a Vec2 type Output = f32;
impl<'b> Cross<&'b Vec2> for Vec2 type Output = f32;
impl<'a, 'b> Cross<&'b Vec2> for &'a Vec2 type Output = f32;
impl Cross<f32> for Vec2 type Output = Vec2;
impl<'a> Cross<f32> for &'a Vec2 type Output = Vec2;
impl<'b> Cross<&'b f32> for Vec2 type Output = Vec2;
impl<'a, 'b> Cross<&'b f32> for &'a Vec2 type Output = Vec2;