Enum spectra::bootstrap::Action
[−]
#[repr(i32)]pub enum Action { Release, Press, Repeat, }
Input actions.
Variants
Release
Press
Repeat
Trait Implementations
impl Clone for Action
fn clone(&self) -> Action
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 PartialOrd<Action> for Action
fn partial_cmp(&self, __arg_0: &Action) -> Option<Ordering>
impl Copy for Action
impl Ord for Action
impl Eq for Action
impl Hash for Action
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher,
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq<Action> for Action
fn eq(&self, __arg_0: &Action) -> 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 !=
.