[−][src]Struct accelerometer::vector::I32x3
3-dimensional XYZ vector of i32
values
Fields
x: i32
X component
y: i32
Y component
z: i32
Z component
Implementations
impl I32x3
[src]
Trait Implementations
impl Clone for I32x3
[src]
fn clone(&self) -> I32x3
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for I32x3
[src]
impl Debug for I32x3
[src]
impl Default for I32x3
[src]
impl From<(i32, i32, i32)> for I32x3
[src]
impl Index<usize> for I32x3
[src]
impl PartialEq<I32x3> for I32x3
[src]
impl StructuralPartialEq for I32x3
[src]
impl Vector for I32x3
[src]
type Component = i32
Type representing measured acceleration for a particular axis
type Axes = UInt<UInt<UTerm, B1>, B1>
Number of axes
const MIN: i32
[src]
const MAX: i32
[src]
fn from_iter<I>(into_iter: I) -> I32x3 where
I: IntoIterator<Item = <I32x3 as Vector>::Component>,
[src]
I: IntoIterator<Item = <I32x3 as Vector>::Component>,
fn get(self, i: usize) -> Option<<I32x3 as Vector>::Component>
[src]
fn to_array(self) -> GenericArray<i32, 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>,