Enum linux_input::ForceFeedbackRequest[][src]

pub enum ForceFeedbackRequest<'a> {
    Upload(ForceFeedbackEffectUpload<'a>),
    Erase(ForceFeedbackEffectErase<'a>),
    Enable {
        effect_id: u16,
        cycle_count: i32,
    },
    Disable {
        effect_id: u16,
    },
    Other {
        code: u16,
        value: i32,
    },
}

Variants

Upload

Tuple Fields of Upload

0: ForceFeedbackEffectUpload<'a>
Erase

Tuple Fields of Erase

0: ForceFeedbackEffectErase<'a>
Enable

Fields of Enable

effect_id: u16

The ID of the effect to enable.

cycle_count: i32

The number of times the effect should be run.

Disable

Fields of Disable

effect_id: u16

The ID of the effect to disable.

Other

Fields of Other

code: u16value: i32

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.