#[repr(C)]pub struct SDL_HapticCondition {
pub type_: Uint16,
pub direction: SDL_HapticDirection,
pub length: Uint32,
pub delay: Uint16,
pub button: Uint16,
pub interval: Uint16,
pub right_sat: [Uint16; 3],
pub left_sat: [Uint16; 3],
pub right_coeff: [Sint16; 3],
pub left_coeff: [Sint16; 3],
pub deadband: [Uint16; 3],
pub center: [Sint16; 3],
}Fields§
§type_: Uint16§direction: SDL_HapticDirection§length: Uint32§delay: Uint16§interval: Uint16§right_sat: [Uint16; 3]§left_sat: [Uint16; 3]§right_coeff: [Sint16; 3]§left_coeff: [Sint16; 3]§deadband: [Uint16; 3]§center: [Sint16; 3]Trait Implementations§
Source§impl Clone for SDL_HapticCondition
impl Clone for SDL_HapticCondition
Source§fn clone(&self) -> SDL_HapticCondition
fn clone(&self) -> SDL_HapticCondition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SDL_HapticCondition
impl Debug for SDL_HapticCondition
impl Copy for SDL_HapticCondition
Auto Trait Implementations§
impl Freeze for SDL_HapticCondition
impl RefUnwindSafe for SDL_HapticCondition
impl Send for SDL_HapticCondition
impl Sync for SDL_HapticCondition
impl Unpin for SDL_HapticCondition
impl UnwindSafe for SDL_HapticCondition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more