Enum myo::Pose
[−]
[src]
#[repr(C)]pub enum Pose { rest, fist, wave_in, wave_out, fingers_spread, double_tap, num_poses, unknown, }
Supported poses.
Variants
rest
Rest pose.
fist
User is making a fist.
wave_in
User has an open palm rotated towards the posterior of their wrist.
wave_out
User has an open palm rotated towards the anterior of their wrist.
fingers_spread
User has an open palm with their fingers spread away from each other.
double_tap
User tapped their thumb and middle finger together twice in succession.
num_poses
Number of poses supported; not a valid pose.
unknown
Unknown pose.
Trait Implementations
impl Debug for Pose
[src]
impl Clone for Pose
[src]
fn clone(&self) -> Pose
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
impl Copy for Pose
[src]
impl PartialEq for Pose
[src]
fn eq(&self, __arg_0: &Pose) -> 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 !=
.