Enum myo::OrientationIndex
[−]
[src]
#[repr(C)]pub enum OrientationIndex { X, Y, Z, W, }
Index into orientation data, which is provided as a quaternion.
Orientation data is returned as a unit quaternion of floats, represented as w + x * i + y * j + z * k
Variants
X
First component of the quaternion's vector part
Y
Second component of the quaternion's vector part
Z
Third component of the quaternion's vector part
W
Scalar component of the quaternion
Trait Implementations
impl Debug for OrientationIndex
[src]
impl PartialEq for OrientationIndex
[src]
fn eq(&self, __arg_0: &OrientationIndex) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for OrientationIndex
[src]
impl Clone for OrientationIndex
[src]
fn clone(&self) -> OrientationIndex
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more