Enum myo::EventType
[−]
[src]
#[repr(u32)]pub enum EventType { Paired, Unpaired, Connected, Disconnected, ArmSynced, ArmUnsynced, Orientation, Pose, RSSI, Unlocked, Locked, EMG, BatteryLevel, WarmupCompleted, }
Types of events.
Variants
Paired
Successfully paired with a Myo.
Unpaired
Successfully unpaired from a Myo.
Connected
A Myo has successfully connected.
Disconnected
A Myo has been disconnected.
ArmSynced
A Myo has recognized that the sync gesture has been successfully performed.
ArmUnsynced
A Myo has been moved or removed from the arm.
Orientation
Orientation data has been recevied.
Pose
A change in pose has been detected. @see libmyo_pose_t.
RSSI
An RSSI value has been received.
Unlocked
A Myo has become unlocked.
Locked
A Myo has become locked.
EMG
EMG data has been received.
BatteryLevel
A battery level value has been received.
WarmupCompleted
The warmup period has completed.
Trait Implementations
impl Debug for EventType
[src]
impl PartialEq for EventType
[src]
fn eq(&self, __arg_0: &EventType) -> 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 EventType
[src]
impl Clone for EventType
[src]
fn clone(&self) -> EventType
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