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_: uint16_t
direction: SDL_HapticDirection
length: uint32_t
delay: uint16_t
interval: uint16_t
period: uint16_t
magnitude: int16_t
offset: int16_t
phase: uint16_t
attack_length: uint16_t
attack_level: uint16_t
fade_length: uint16_t
fade_level: uint16_t
Trait Implementations
impl Clone for SDL_HapticPeriodic
[src]
fn clone(&self) -> SDL_HapticPeriodic
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more