Struct input_linux_sys::ff_effect_union
[−]
[src]
#[repr(C)]pub struct ff_effect_union { pub u: [u64; 4], }
Fields
u: [u64; 4]
Methods
impl ff_effect_union
[src]
pub fn constant(&self) -> &ff_constant_effect
[src]
pub fn constant_mut(&mut self) -> &mut ff_constant_effect
[src]
pub fn ramp(&self) -> &ff_ramp_effect
[src]
pub fn ramp_mut(&mut self) -> &mut ff_ramp_effect
[src]
pub fn periodic(&self) -> &ff_periodic_effect
[src]
pub fn periodic_mut(&mut self) -> &mut ff_periodic_effect
[src]
pub fn condition(&self) -> &[ff_condition_effect; 2]
[src]
pub fn condition_mut(&mut self) -> &mut [ff_condition_effect; 2]
[src]
pub fn rumble(&self) -> &ff_rumble_effect
[src]
pub fn rumble_mut(&mut self) -> &mut ff_rumble_effect
[src]
Trait Implementations
impl Copy for ff_effect_union
[src]
impl Clone for ff_effect_union
[src]
fn clone(&self) -> ff_effect_union
[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