Struct gilrs::ff::Trigger [] [src]

#[repr(C)]
pub struct Trigger { pub button: Button, pub interval: u16, }

Defines what triggers the force-feedback effect

Fields

Trait Implementations

impl Into<ff_trigger> for Trigger
[src]

Performs the conversion.

impl Copy for Trigger
[src]

impl Clone for Trigger
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Trigger
[src]

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

This method tests for !=.

impl Debug for Trigger
[src]

Formats the value using the given formatter.

impl Default for Trigger
[src]

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