Trait geometric::traits::Dot[][src]

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

Associated Types

Loading content...

Required methods

fn dot(self, other: RHS) -> Self::Output[src]

Compute the dot product.

Loading content...

Implementors

impl<T: Copy> Dot<Vector2<T>> for Vector2<T> where
    T: Add<Output = T> + Mul<Output = T>, 
[src]

type Output = T

impl<T: Copy> Dot<Vector3<T>> for Vector3<T> where
    T: Add<Output = T> + Mul<Output = T>, 
[src]

type Output = T

impl<T: Copy> Dot<Vector4<T>> for Vector4<T> where
    T: Add<Output = T> + Mul<Output = T>, 
[src]

type Output = T

Loading content...