#[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 moreSource§impl<'a> From<&'a ff_effect> for &'a ff_effect_union
impl<'a> From<&'a ff_effect> for &'a ff_effect_union
Source§impl<'a> From<&'a mut ff_effect> for &'a mut ff_effect_union
impl<'a> From<&'a mut ff_effect> for &'a mut ff_effect_union
impl Copy for ff_effect_union
Auto Trait Implementations§
impl Freeze for ff_effect_union
impl RefUnwindSafe for ff_effect_union
impl Send for ff_effect_union
impl Sync for ff_effect_union
impl Unpin for ff_effect_union
impl UnwindSafe for ff_effect_union
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more