[][src]Struct micromath::vector::U32x3

pub struct U32x3 {
    pub x: u32,
    pub y: u32,
    pub z: u32,
}

3-dimensional XYZ vector of u16 values

Fields

x: u32

X component

y: u32

Y component

z: u32

Z component

Methods

impl U32x3[src]

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

Instantiate from X,Y,Z components

Trait Implementations

impl Vector for U32x3[src]

type Component = u32

Type representing measured acceleration for a particular axis

type Axes = U3

Number of axes

impl From<(u32, u32, u32)> for U32x3[src]

impl Debug for U32x3[src]

impl PartialEq<U32x3> for U32x3[src]

impl Index<usize> for U32x3[src]

type Output = u32

The returned type after indexing.

impl Copy for U32x3[src]

impl StructuralPartialEq for U32x3[src]

impl Clone for U32x3[src]

impl Default for U32x3[src]

Auto Trait Implementations

impl Unpin for U32x3

impl Send for U32x3

impl Sync for U32x3

Blanket Implementations

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

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

type Error = Infallible

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