Enum myo::UnlockType
[−]
[src]
#[repr(C)]pub enum UnlockType { Timed, Hold, }
Valid unlock types.
Variants
Timed
Unlock for a fixed period of time.
Hold
Unlock until explicitly told to re-lock.
Trait Implementations
impl Debug for UnlockType
[src]
impl PartialEq for UnlockType
[src]
fn eq(&self, __arg_0: &UnlockType) -> 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 UnlockType
[src]
impl Clone for UnlockType
[src]
fn clone(&self) -> UnlockType
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