#[repr(u32)]
#[non_exhaustive]
pub enum retro_rumble_effect {
RETRO_RUMBLE_STRONG,
RETRO_RUMBLE_WEAK,
RETRO_RUMBLE_DUMMY,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for retro_rumble_effect
impl Clone for retro_rumble_effect
source§fn clone(&self) -> retro_rumble_effect
fn clone(&self) -> retro_rumble_effect
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for retro_rumble_effect
impl Debug for retro_rumble_effect
source§impl Hash for retro_rumble_effect
impl Hash for retro_rumble_effect
source§impl PartialEq<retro_rumble_effect> for retro_rumble_effect
impl PartialEq<retro_rumble_effect> for retro_rumble_effect
source§fn eq(&self, other: &retro_rumble_effect) -> bool
fn eq(&self, other: &retro_rumble_effect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.