[][src]Struct fermium::SDL_HapticConstant

#[repr(C)]
pub struct SDL_HapticConstant {
    pub type_: Uint16,
    pub direction: SDL_HapticDirection,
    pub length: Uint32,
    pub delay: Uint16,
    pub button: Uint16,
    pub interval: Uint16,
    pub level: Sint16,
    pub attack_length: Uint16,
    pub attack_level: Uint16,
    pub fade_length: Uint16,
    pub fade_level: Uint16,
}

Fields

type_: Uint16direction: SDL_HapticDirectionlength: Uint32delay: Uint16button: Uint16interval: Uint16level: Sint16attack_length: Uint16attack_level: Uint16fade_length: Uint16fade_level: Uint16

Trait Implementations

impl Debug for SDL_HapticConstant[src]

impl PartialEq<SDL_HapticConstant> for SDL_HapticConstant[src]

impl Copy for SDL_HapticConstant[src]

impl Clone for SDL_HapticConstant[src]

impl Default for SDL_HapticConstant[src]

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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