Trait na::NumVec[][src]

pub trait NumVec: Add<Self, Output = Self> + Sub<Self, Output = Self> + Mul<Self::Field, Output = Self> + Div<Self::Field, Output = Self> + MulAssign<Self::Field> + DivAssign<Self::Field> + AddAssign<Self> + SubAssign<Self> + PartialEq + Sized {
    type Field: BaseNum;
}

Trait grouping most common operations on vectors.

Associated Types

type Field: BaseNum[src]

Loading content...

Implementors

impl<N: BaseNum> NumVec for Vector1<N>[src]

type Field = N

impl<N: BaseNum> NumVec for Vector2<N>[src]

type Field = N

impl<N: BaseNum> NumVec for Vector3<N>[src]

type Field = N

impl<N: BaseNum> NumVec for Vector4<N>[src]

type Field = N

impl<N: BaseNum> NumVec for Vector5<N>[src]

type Field = N

impl<N: BaseNum> NumVec for Vector6<N>[src]

type Field = N

Loading content...