Struct gilrs::ff::Trigger
[−]
[src]
#[repr(C)]pub struct Trigger { pub button: Button, pub interval: u16, }
Defines what triggers the force-feedback effect
Fields
interval: u16
Trait Implementations
impl Copy for Trigger
[src]
impl Clone for Trigger
[src]
fn clone(&self) -> Trigger
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Trigger
[src]
fn eq(&self, __arg_0: &Trigger) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Trigger) -> bool
This method tests for !=
.