[][src]Trait micromath::vector::Component

pub trait Component: Copy + Default + PartialEq + PartialOrd + Sized + Add<Output = Self> + Sub<Output = Self> + Mul<Output = Self> + Div<Output = Self> { }

Vector components. All components must be Copy + Sized types which support basic arithmetic (Add, Sub, Mul, Div), as well as Default, PartialEq and PartialOrd.

This trait is impl'd for the following primitive types:

  • i8, i16, i32
  • u8, u16, u32
  • f32

Implementors

impl Component for f32[src]

impl Component for i8[src]

impl Component for i16[src]

impl Component for i32[src]

impl Component for u8[src]

impl Component for u16[src]

impl Component for u32[src]

Loading content...