[][src]Enum sdl2_sys::SDL_SensorType

#[repr(i32)]pub enum SDL_SensorType {
    SDL_SENSOR_INVALID,
    SDL_SENSOR_UNKNOWN,
    SDL_SENSOR_ACCEL,
    SDL_SENSOR_GYRO,
}

Variants

SDL_SENSOR_INVALID

< Returned for an invalid sensor

SDL_SENSOR_UNKNOWN

< Unknown sensor type

SDL_SENSOR_ACCEL

< Accelerometer

SDL_SENSOR_GYRO

< Gyroscope

Trait Implementations

impl Clone for SDL_SensorType[src]

impl Copy for SDL_SensorType[src]

impl Debug for SDL_SensorType[src]

impl Eq for SDL_SensorType[src]

impl Hash for SDL_SensorType[src]

impl PartialEq<SDL_SensorType> for SDL_SensorType[src]

impl StructuralEq for SDL_SensorType[src]

impl StructuralPartialEq for SDL_SensorType[src]

Auto Trait Implementations

impl Send for SDL_SensorType

impl Sync for SDL_SensorType

impl Unpin for SDL_SensorType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.