Struct input_linux_sys::ff_effect_union
source · #[repr(C)]pub struct ff_effect_union {
pub u: [u64; 4],
}
Fields§
§u: [u64; 4]
Implementations§
source§impl ff_effect_union
impl ff_effect_union
pub fn constant(&self) -> &ff_constant_effect
pub fn constant_mut(&mut self) -> &mut ff_constant_effect
pub fn ramp(&self) -> &ff_ramp_effect
pub fn ramp_mut(&mut self) -> &mut ff_ramp_effect
pub fn periodic(&self) -> &ff_periodic_effect
pub fn periodic_mut(&mut self) -> &mut ff_periodic_effect
pub fn condition(&self) -> &[ff_condition_effect; 2]
pub fn condition_mut(&mut self) -> &mut [ff_condition_effect; 2]
pub fn rumble(&self) -> &ff_rumble_effect
pub fn rumble_mut(&mut self) -> &mut ff_rumble_effect
Trait Implementations§
source§impl Clone for ff_effect_union
impl Clone for ff_effect_union
source§fn clone(&self) -> ff_effect_union
fn clone(&self) -> ff_effect_union
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more