[][src]Struct input_linux_sys::ff_effect_union

#[repr(C)]pub struct ff_effect_union {
    pub u: [u64; 4],
}

Fields

u: [u64; 4]

Implementations

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 Clone for ff_effect_union[src]

impl Copy for ff_effect_union[src]

impl<'a> From<&'a ff_effect> for &'a ff_effect_union[src]

impl<'a> From<&'a mut ff_effect> for &'a mut ff_effect_union[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.