#[repr(C)]pub struct SDL_HapticCustom {Show 14 fields
pub type_: Uint16,
pub direction: SDL_HapticDirection,
pub length: Uint32,
pub delay: Uint16,
pub button: Uint16,
pub interval: Uint16,
pub channels: Uint8,
pub period: Uint16,
pub samples: Uint16,
pub data: *mut Uint16,
pub attack_length: Uint16,
pub attack_level: Uint16,
pub fade_length: Uint16,
pub fade_level: Uint16,
}Fields§
§type_: Uint16§direction: SDL_HapticDirection§length: Uint32§delay: Uint16§interval: Uint16§channels: Uint8§period: Uint16§samples: Uint16§data: *mut Uint16§attack_length: Uint16§attack_level: Uint16§fade_length: Uint16§fade_level: Uint16Trait Implementations§
Source§impl Clone for SDL_HapticCustom
impl Clone for SDL_HapticCustom
Source§fn clone(&self) -> SDL_HapticCustom
fn clone(&self) -> SDL_HapticCustom
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_HapticCustom
impl Debug for SDL_HapticCustom
impl Copy for SDL_HapticCustom
Auto Trait Implementations§
impl Freeze for SDL_HapticCustom
impl RefUnwindSafe for SDL_HapticCustom
impl !Send for SDL_HapticCustom
impl !Sync for SDL_HapticCustom
impl Unpin for SDL_HapticCustom
impl UnwindSafe for SDL_HapticCustom
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