[][src]Struct micromath::vector::I32x3

pub struct I32x3 {
    pub x: i32,
    pub y: i32,
    pub z: i32,
}

3-dimensional XYZ vector of i32 values

Fields

x: i32

X component

y: i32

Y component

z: i32

Z component

Methods

impl I32x3[src]

pub fn new(x: i32, y: i32, z: i32) -> Self[src]

Instantiate from X,Y,Z components

Trait Implementations

impl Vector for I32x3[src]

type Component = i32

Type representing measured acceleration for a particular axis

type Axes = U3

Number of axes

impl From<(i32, i32, i32)> for I32x3[src]

impl Debug for I32x3[src]

impl PartialEq<I32x3> for I32x3[src]

impl Index<usize> for I32x3[src]

type Output = i32

The returned type after indexing.

impl Copy for I32x3[src]

impl StructuralPartialEq for I32x3[src]

impl Clone for I32x3[src]

impl Default for I32x3[src]

Auto Trait Implementations

impl Unpin for I32x3

impl Send for I32x3

impl Sync for I32x3

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self