Struct sdl2_sys::haptic::SDL_HapticPeriodic [] [src]

pub struct SDL_HapticPeriodic {
    pub type_: uint16_t,
    pub direction: SDL_HapticDirection,
    pub length: uint32_t,
    pub delay: uint16_t,
    pub button: uint16_t,
    pub interval: uint16_t,
    pub period: uint16_t,
    pub magnitude: int16_t,
    pub offset: int16_t,
    pub phase: uint16_t,
    pub attack_length: uint16_t,
    pub attack_level: uint16_t,
    pub fade_length: uint16_t,
    pub fade_level: uint16_t,
}

Fields

type_
direction
length
delay
button
interval
period
magnitude
offset
phase
attack_length
attack_level
fade_length
fade_level

Trait Implementations

Derived Implementations

impl Clone for SDL_HapticPeriodic

fn clone(&self) -> SDL_HapticPeriodic

fn clone_from(&mut self, source: &Self)

impl Copy for SDL_HapticPeriodic