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

Fields of Weak

Fields of Strong

Trait Implementations

impl Copy for BaseEffectType
[src]

impl Clone for BaseEffectType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for BaseEffectType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for BaseEffectType
[src]

[src]

Formats the value using the given formatter.

impl Mul<f32> for BaseEffectType
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Default for BaseEffectType
[src]

[src]

Returns the "default value" for a type. Read more