#[non_exhaustive]#[repr(u32)]pub enum retro_rumble_effect {
RETRO_RUMBLE_STRONG = 0,
RETRO_RUMBLE_WEAK = 1,
RETRO_RUMBLE_DUMMY = 2_147_483_647,
}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 duplicate 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 for retro_rumble_effect
impl PartialEq for retro_rumble_effect
impl Copy for retro_rumble_effect
impl Eq for retro_rumble_effect
impl StructuralPartialEq for retro_rumble_effect
Auto Trait Implementations§
impl Freeze for retro_rumble_effect
impl RefUnwindSafe for retro_rumble_effect
impl Send for retro_rumble_effect
impl Sync for retro_rumble_effect
impl Unpin for retro_rumble_effect
impl UnwindSafe for retro_rumble_effect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more