Struct sdl2_sys::_SDL_Haptic
source · #[repr(C)]pub struct _SDL_Haptic { /* private fields */ }
Expand description
\typedef SDL_Haptic
\brief The haptic structure used to identify an SDL haptic.
\sa SDL_HapticOpen \sa SDL_HapticOpenFromJoystick \sa SDL_HapticClose
Trait Implementations§
source§impl Clone for _SDL_Haptic
impl Clone for _SDL_Haptic
source§fn clone(&self) -> _SDL_Haptic
fn clone(&self) -> _SDL_Haptic
Returns a copy 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 moreimpl Copy for _SDL_Haptic
Auto Trait Implementations§
impl Freeze for _SDL_Haptic
impl RefUnwindSafe for _SDL_Haptic
impl Send for _SDL_Haptic
impl Sync for _SDL_Haptic
impl Unpin for _SDL_Haptic
impl UnwindSafe for _SDL_Haptic
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