#[repr(u32)]
#[non_exhaustive]
pub enum retro_sensor_action {
RETRO_SENSOR_ACCELEROMETER_ENABLE,
RETRO_SENSOR_ACCELEROMETER_DISABLE,
RETRO_SENSOR_GYROSCOPE_ENABLE,
RETRO_SENSOR_GYROSCOPE_DISABLE,
RETRO_SENSOR_ILLUMINANCE_ENABLE,
RETRO_SENSOR_ILLUMINANCE_DISABLE,
RETRO_SENSOR_DUMMY,
}Expand description
FIXME: Document the sensor API and work out behavior. It will be marked as experimental until then.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RETRO_SENSOR_ACCELEROMETER_ENABLE
RETRO_SENSOR_ACCELEROMETER_DISABLE
RETRO_SENSOR_GYROSCOPE_ENABLE
RETRO_SENSOR_GYROSCOPE_DISABLE
RETRO_SENSOR_ILLUMINANCE_ENABLE
RETRO_SENSOR_ILLUMINANCE_DISABLE
RETRO_SENSOR_DUMMY
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for retro_sensor_action
impl Send for retro_sensor_action
impl Sync for retro_sensor_action
impl Unpin for retro_sensor_action
impl UnwindSafe for retro_sensor_action
Blanket Implementations
Mutably borrows from an owned value. Read more
