Trait dvec::Dot
[−]
[src]
pub trait Dot<RHS = Self> { type Output; fn dot(self, rhs: RHS) -> Self::Output; }
Dot product operator.
Associated Types
type Output
Required Methods
Implementors
impl<T> Dot for Vec2<T> where
T: Add<Output = T> + Mul<Output = T>,impl<'a, T> Dot<&'a Vec2<T>> for Vec2<T> where
T: Add<Output = T> + Mul<&'a T, Output = T>,impl<'a, T> Dot<Vec2<T>> for &'a Vec2<T> where
T: Add<Output = T>,
&'a T: Mul<T, Output = T>,impl<'a, 'b, T> Dot<&'b Vec2<T>> for &'a Vec2<T> where
T: Add<Output = T>,
&'a T: Mul<&'b T, Output = T>,impl<T> Dot for Vec3<T> where
T: Add<Output = T> + Mul<Output = T>,impl<'a, T> Dot<&'a Vec3<T>> for Vec3<T> where
T: Add<Output = T> + Mul<&'a T, Output = T>,impl<'a, T> Dot<Vec3<T>> for &'a Vec3<T> where
T: Add<Output = T>,
&'a T: Mul<T, Output = T>,impl<'a, 'b, T> Dot<&'b Vec3<T>> for &'a Vec3<T> where
T: Add<Output = T>,
&'a T: Mul<&'b T, Output = T>,