#[repr(C)]pub struct ff_effect_union {
pub _bindgen_data_: [u64; 4],
}
Fields§
§_bindgen_data_: [u64; 4]
Implementations§
Source§impl ff_effect_union
impl ff_effect_union
pub unsafe fn constant(&mut self) -> *mut ff_constant_effect
pub unsafe fn ramp(&mut self) -> *mut ff_ramp_effect
pub unsafe fn periodic(&mut self) -> *mut ff_periodic_effect
pub unsafe fn condition(&mut self) -> *mut [ff_condition_effect; 2]
pub unsafe fn rumble(&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 Debug for ff_effect_union
impl Debug for ff_effect_union
Source§impl Default for ff_effect_union
impl Default for 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