Struct sdl2_sys::_SDL_Sensor
source · #[repr(C)]pub struct _SDL_Sensor { /* private fields */ }
Expand description
\brief SDL_sensor.h
In order to use these functions, SDL_Init() must have been called with the ::SDL_INIT_SENSOR flag. This causes SDL to scan the system for sensors, and load appropriate drivers.
Trait Implementations§
source§impl Clone for _SDL_Sensor
impl Clone for _SDL_Sensor
source§fn clone(&self) -> _SDL_Sensor
fn clone(&self) -> _SDL_Sensor
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_Sensor
Auto Trait Implementations§
impl Freeze for _SDL_Sensor
impl RefUnwindSafe for _SDL_Sensor
impl Send for _SDL_Sensor
impl Sync for _SDL_Sensor
impl Unpin for _SDL_Sensor
impl UnwindSafe for _SDL_Sensor
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