Enum gilrs::ff::BaseEffectType [−][src]
Expand description
Kind of BaseEffect
.
Currently base effect support only xinput model of force feedback, which means that gamepad have weak and strong motor.
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.
Weak
Fields
magnitude: u16
Strong
Fields
magnitude: u16
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BaseEffectType
impl Send for BaseEffectType
impl Sync for BaseEffectType
impl Unpin for BaseEffectType
impl UnwindSafe for BaseEffectType
Blanket Implementations
Mutably borrows from an owned value. Read more