Struct sdl2_sys::haptic::SDL_HapticConstant
[−]
[src]
pub struct SDL_HapticConstant {
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 level: int16_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
level: int16_t
attack_length: uint16_t
attack_level: uint16_t
fade_length: uint16_t
fade_level: uint16_t
Trait Implementations
impl Clone for SDL_HapticConstant[src]
fn clone(&self) -> SDL_HapticConstant
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