Enum gilrs::ff::BaseEffectType
[−]
[src]
pub enum BaseEffectType { Weak { magnitude: u16, }, Strong { magnitude: u16, }, // some variants omitted }
Kind of BaseEffect
.
Currently base effect support only xinput model of force feedback, which means that gamepad have weak and strong motor.
Variants
Weak
Fields of Weak
magnitude: u16 |
Strong
Fields of Strong
magnitude: u16 |
Trait Implementations
impl Copy for BaseEffectType
[src]
impl Clone for BaseEffectType
[src]
fn clone(&self) -> BaseEffectType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for BaseEffectType
[src]
fn eq(&self, __arg_0: &BaseEffectType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BaseEffectType) -> bool
[src]
This method tests for !=
.
impl Debug for BaseEffectType
[src]
impl Mul<f32> for BaseEffectType
[src]
type Output = BaseEffectType
The resulting type after applying the *
operator.
fn mul(self, rhs: f32) -> Self::Output
[src]
Performs the *
operation.