DotProduct

Trait DotProduct 

Source
pub trait DotProduct<T: Real> {
    // Required method
    fn dot(&self, rhs: &Self) -> T;
}
Expand description

This type can be used to produce a dot product

Required Methods§

Source

fn dot(&self, rhs: &Self) -> T

Produce the dot product of self and rhs

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: Real> DotProduct<T> for TVec2<T>

Source§

impl<T: Real> DotProduct<T> for TVec3<T>

Source§

impl<T: Real> DotProduct<T> for TVec4<T>