Struct sdl2_sys::haptic::SDL_HapticCondition
[−]
[src]
pub struct SDL_HapticCondition {
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 right_sat: [uint16_t; 3],
pub left_sat: [uint16_t; 3],
pub right_coeff: [int16_t; 3],
pub left_coeff: [int16_t; 3],
pub deadband: [uint16_t; 3],
pub center: [int16_t; 3],
}Fields
type_: uint16_t
direction: SDL_HapticDirection
length: uint32_t
delay: uint16_t
interval: uint16_t
right_sat: [uint16_t; 3]
left_sat: [uint16_t; 3]
right_coeff: [int16_t; 3]
left_coeff: [int16_t; 3]
deadband: [uint16_t; 3]
center: [int16_t; 3]
Trait Implementations
impl Clone for SDL_HapticCondition[src]
fn clone(&self) -> SDL_HapticCondition
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