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
sourceimpl Clone for _SDL_Sensor
impl Clone for _SDL_Sensor
sourcefn clone(&self) -> _SDL_Sensor
fn clone(&self) -> _SDL_Sensor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for _SDL_Sensor
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more