Struct windows_sys::Devices::Sensors::SensorType
[−]#[repr(transparent)]pub struct SensorType(pub i32);
Expand description
Required features: "Devices_Sensors"
Tuple Fields
0: i32
Implementations
impl SensorType
impl SensorType
pub const Accelerometer: Self
pub const ActivitySensor: Self
pub const Barometer: Self
pub const Compass: Self
pub const CustomSensor: Self
pub const Gyroscope: Self
pub const ProximitySensor: Self
pub const Inclinometer: Self
pub const LightSensor: Self
pub const OrientationSensor: Self
pub const Pedometer: Self
pub const RelativeInclinometer: Self
pub const RelativeOrientationSensor: Self
pub const SimpleOrientationSensor: Self
Trait Implementations
impl Clone for SensorType
impl Clone for SensorType
impl Copy for SensorType
Auto Trait Implementations
impl RefUnwindSafe for SensorType
impl Send for SensorType
impl Sync for SensorType
impl Unpin for SensorType
impl UnwindSafe for SensorType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more