[−][src]Struct accelerometer::vector::I16x3
3-dimensional XYZ vector of i16
values
Fields
x: i16
X component
y: i16
Y component
z: i16
Z component
Implementations
impl I16x3
[src]
Trait Implementations
impl Clone for I16x3
[src]
fn clone(&self) -> I16x3
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for I16x3
[src]
impl Debug for I16x3
[src]
impl Default for I16x3
[src]
impl From<(i16, i16, i16)> for I16x3
[src]
impl From<I16x3> for F32x3
[src]
impl Index<usize> for I16x3
[src]
impl MulAssign<f32> for I16x3
[src]
fn mul_assign(&mut self, n: f32)
[src]
impl PartialEq<I16x3> for I16x3
[src]
impl StructuralPartialEq for I16x3
[src]
impl Vector for I16x3
[src]
type Component = i16
Type representing measured acceleration for a particular axis
type Axes = UInt<UInt<UTerm, B1>, B1>
Number of axes
const MIN: i16
[src]
const MAX: i16
[src]
fn from_iter<I>(into_iter: I) -> I16x3 where
I: IntoIterator<Item = <I16x3 as Vector>::Component>,
[src]
I: IntoIterator<Item = <I16x3 as Vector>::Component>,
fn get(self, i: usize) -> Option<<I16x3 as Vector>::Component>
[src]
fn to_array(self) -> GenericArray<i16, UInt<UInt<UTerm, B1>, B1>>
[src]
fn from_slice(slice: &[Self::Component]) -> Self
[src]
fn iter(&self) -> Iter<Self>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, A, C> VectorExt for V where
A: ArrayLength<C>,
C: Component + Into<f32>,
V: Vector<Axes = A, Component = C> + MulAssign<f32>,
[src]
A: ArrayLength<C>,
C: Component + Into<f32>,
V: Vector<Axes = A, Component = C> + MulAssign<f32>,