Struct sdl2_sys::haptic::SDL_HapticRamp [] [src]

pub struct SDL_HapticRamp {
    pub type_: uint16_t,
    pub length: uint32_t,
    pub delay: uint16_t,
    pub button: uint16_t,
    pub interval: uint16_t,
    pub start: int16_t,
    pub end: 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 length: uint32_t delay: uint16_t button: uint16_t interval: uint16_t start: int16_t end: int16_t attack_length: uint16_t attack_level: uint16_t fade_length: uint16_t fade_level: uint16_t

Trait Implementations

impl Clone for SDL_HapticRamp
[src]

fn clone(&self) -> SDL_HapticRamp

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

impl Copy for SDL_HapticRamp
[src]