Trait Dot

Source
pub trait Dot<T = Self> {
    type Output;

    // Required method
    fn dot(self, other: T) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn dot(self, other: T) -> Self::Output

Implementations on Foreign Types§

Source§

impl<T> Dot for Vector2<T>
where T: BaseFloat,

Source§

type Output = T

Source§

fn dot(self, other: Self) -> Self::Output

Source§

impl<T> Dot for Vector3<T>
where T: BaseFloat,

Source§

type Output = T

Source§

fn dot(self, other: Self) -> Self::Output

Source§

impl<T> Dot for Vector2<T>
where T: Mul, <T as Mul>::Output: Add<Output = T>,

Source§

type Output = T

Source§

fn dot(self, other: Self) -> Self::Output

Source§

impl<T> Dot for Vector3<T>
where T: Mul<Output = T>, <T as Mul>::Output: Add<Output = T>,

Source§

type Output = T

Source§

fn dot(self, other: Self) -> Self::Output

Source§

impl<T> Dot for Vector2<T>
where T: AddAssign + Mul<Output = T> + MulAssign + Scalar + Zero,

Source§

type Output = T

Source§

fn dot(self, other: Self) -> Self::Output

Source§

impl<T> Dot for Vector3<T>
where T: AddAssign + Mul<Output = T> + MulAssign + Scalar + Zero,

Source§

type Output = T

Source§

fn dot(self, other: Self) -> Self::Output

Implementors§

Source§

impl<T> Dot for Duplet<T>
where T: Mul, <T as Mul>::Output: Add<Output = T>,

Source§

impl<T> Dot for Triplet<T>
where T: Mul<Output = T>, <T as Mul>::Output: Add<Output = T>,