[][src]Trait accelerometer::vector::Component

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

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...