Struct xsens_mti::mtdata2::acceleration::Acceleration [−][src]
pub struct Acceleration<T> { pub x: T, pub y: T, pub z: T, }
Expand description
Contains the calibrated acceleration vector in x, y, and z axes in m/s^2
Fields
x: T
y: T
z: T
Implementations
impl Acceleration<f32>
[src]
impl Acceleration<f32>
[src]Trait Implementations
impl<T: Clone> Clone for Acceleration<T>
[src]
impl<T: Clone> Clone for Acceleration<T>
[src]fn clone(&self) -> Acceleration<T>
[src]
fn clone(&self) -> Acceleration<T>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for Acceleration<T>
[src]
impl<T: Debug> Debug for Acceleration<T>
[src]impl<T: Display> Display for Acceleration<T>
[src]
impl<T: Display> Display for Acceleration<T>
[src]impl<T: Hash> Hash for Acceleration<T>
[src]
impl<T: Hash> Hash for Acceleration<T>
[src]impl<T: Ord> Ord for Acceleration<T>
[src]
impl<T: Ord> Ord for Acceleration<T>
[src]impl<T: PartialEq> PartialEq<Acceleration<T>> for Acceleration<T>
[src]
impl<T: PartialEq> PartialEq<Acceleration<T>> for Acceleration<T>
[src]fn eq(&self, other: &Acceleration<T>) -> bool
[src]
fn eq(&self, other: &Acceleration<T>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &Acceleration<T>) -> bool
[src]
fn ne(&self, other: &Acceleration<T>) -> bool
[src]This method tests for !=
.
impl<T: PartialOrd> PartialOrd<Acceleration<T>> for Acceleration<T>
[src]
impl<T: PartialOrd> PartialOrd<Acceleration<T>> for Acceleration<T>
[src]fn partial_cmp(&self, other: &Acceleration<T>) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Acceleration<T>) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T: Copy> Copy for Acceleration<T>
[src]
impl<T: Eq> Eq for Acceleration<T>
[src]
impl<T> StructuralEq for Acceleration<T>
[src]
impl<T> StructuralPartialEq for Acceleration<T>
[src]
Auto Trait Implementations
impl<T> Send for Acceleration<T> where
T: Send,
T: Send,
impl<T> Sync for Acceleration<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Acceleration<T> where
T: Unpin,
T: Unpin,