]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Devices/Haptics/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Devices / Haptics / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 pub type SimpleHapticsController = *mut ::core::ffi::c_void;
3 pub type SimpleHapticsControllerFeedback = *mut ::core::ffi::c_void;
4 #[doc = "*Required features: `\"Devices_Haptics\"`*"]
5 #[repr(transparent)]
6 pub struct VibrationAccessStatus(pub i32);
7 impl VibrationAccessStatus {
8 pub const Allowed: Self = Self(0i32);
9 pub const DeniedByUser: Self = Self(1i32);
10 pub const DeniedBySystem: Self = Self(2i32);
11 pub const DeniedByEnergySaver: Self = Self(3i32);
12 }
13 impl ::core::marker::Copy for VibrationAccessStatus {}
14 impl ::core::clone::Clone for VibrationAccessStatus {
15 fn clone(&self) -> Self {
16 *self
17 }
18 }
19 pub type VibrationDevice = *mut ::core::ffi::c_void;