]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/UI/Input/Spatial/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / UI / Input / Spatial / mod.rs
CommitLineData
5e7ed085 1pub type SpatialGestureRecognizer = *mut ::core::ffi::c_void;
04454e1e 2#[doc = "*Required features: `\"UI_Input_Spatial\"`*"]
5e7ed085
FG
3#[repr(transparent)]
4pub struct SpatialGestureSettings(pub u32);
5impl SpatialGestureSettings {
6 pub const None: Self = Self(0u32);
7 pub const Tap: Self = Self(1u32);
8 pub const DoubleTap: Self = Self(2u32);
9 pub const Hold: Self = Self(4u32);
10 pub const ManipulationTranslate: Self = Self(8u32);
11 pub const NavigationX: Self = Self(16u32);
12 pub const NavigationY: Self = Self(32u32);
13 pub const NavigationZ: Self = Self(64u32);
14 pub const NavigationRailsX: Self = Self(128u32);
15 pub const NavigationRailsY: Self = Self(256u32);
16 pub const NavigationRailsZ: Self = Self(512u32);
17}
18impl ::core::marker::Copy for SpatialGestureSettings {}
19impl ::core::clone::Clone for SpatialGestureSettings {
20 fn clone(&self) -> Self {
21 *self
22 }
23}
24pub type SpatialHoldCanceledEventArgs = *mut ::core::ffi::c_void;
25pub type SpatialHoldCompletedEventArgs = *mut ::core::ffi::c_void;
26pub type SpatialHoldStartedEventArgs = *mut ::core::ffi::c_void;
27pub type SpatialInteraction = *mut ::core::ffi::c_void;
28pub type SpatialInteractionController = *mut ::core::ffi::c_void;
29pub type SpatialInteractionControllerProperties = *mut ::core::ffi::c_void;
30pub type SpatialInteractionDetectedEventArgs = *mut ::core::ffi::c_void;
31pub type SpatialInteractionManager = *mut ::core::ffi::c_void;
04454e1e 32#[doc = "*Required features: `\"UI_Input_Spatial\"`*"]
5e7ed085
FG
33#[repr(transparent)]
34pub struct SpatialInteractionPressKind(pub i32);
35impl SpatialInteractionPressKind {
36 pub const None: Self = Self(0i32);
37 pub const Select: Self = Self(1i32);
38 pub const Menu: Self = Self(2i32);
39 pub const Grasp: Self = Self(3i32);
40 pub const Touchpad: Self = Self(4i32);
41 pub const Thumbstick: Self = Self(5i32);
42}
43impl ::core::marker::Copy for SpatialInteractionPressKind {}
44impl ::core::clone::Clone for SpatialInteractionPressKind {
45 fn clone(&self) -> Self {
46 *self
47 }
48}
49pub type SpatialInteractionSource = *mut ::core::ffi::c_void;
50pub type SpatialInteractionSourceEventArgs = *mut ::core::ffi::c_void;
04454e1e 51#[doc = "*Required features: `\"UI_Input_Spatial\"`*"]
5e7ed085
FG
52#[repr(transparent)]
53pub struct SpatialInteractionSourceHandedness(pub i32);
54impl SpatialInteractionSourceHandedness {
55 pub const Unspecified: Self = Self(0i32);
56 pub const Left: Self = Self(1i32);
57 pub const Right: Self = Self(2i32);
58}
59impl ::core::marker::Copy for SpatialInteractionSourceHandedness {}
60impl ::core::clone::Clone for SpatialInteractionSourceHandedness {
61 fn clone(&self) -> Self {
62 *self
63 }
64}
04454e1e 65#[doc = "*Required features: `\"UI_Input_Spatial\"`*"]
5e7ed085
FG
66#[repr(transparent)]
67pub struct SpatialInteractionSourceKind(pub i32);
68impl SpatialInteractionSourceKind {
69 pub const Other: Self = Self(0i32);
70 pub const Hand: Self = Self(1i32);
71 pub const Voice: Self = Self(2i32);
72 pub const Controller: Self = Self(3i32);
73}
74impl ::core::marker::Copy for SpatialInteractionSourceKind {}
75impl ::core::clone::Clone for SpatialInteractionSourceKind {
76 fn clone(&self) -> Self {
77 *self
78 }
79}
80pub type SpatialInteractionSourceLocation = *mut ::core::ffi::c_void;
04454e1e 81#[doc = "*Required features: `\"UI_Input_Spatial\"`*"]
5e7ed085
FG
82#[repr(transparent)]
83pub struct SpatialInteractionSourcePositionAccuracy(pub i32);
84impl SpatialInteractionSourcePositionAccuracy {
85 pub const High: Self = Self(0i32);
86 pub const Approximate: Self = Self(1i32);
87}
88impl ::core::marker::Copy for SpatialInteractionSourcePositionAccuracy {}
89impl ::core::clone::Clone for SpatialInteractionSourcePositionAccuracy {
90 fn clone(&self) -> Self {
91 *self
92 }
93}
94pub type SpatialInteractionSourceProperties = *mut ::core::ffi::c_void;
95pub type SpatialInteractionSourceState = *mut ::core::ffi::c_void;
96pub type SpatialManipulationCanceledEventArgs = *mut ::core::ffi::c_void;
97pub type SpatialManipulationCompletedEventArgs = *mut ::core::ffi::c_void;
98pub type SpatialManipulationDelta = *mut ::core::ffi::c_void;
99pub type SpatialManipulationStartedEventArgs = *mut ::core::ffi::c_void;
100pub type SpatialManipulationUpdatedEventArgs = *mut ::core::ffi::c_void;
101pub type SpatialNavigationCanceledEventArgs = *mut ::core::ffi::c_void;
102pub type SpatialNavigationCompletedEventArgs = *mut ::core::ffi::c_void;
103pub type SpatialNavigationStartedEventArgs = *mut ::core::ffi::c_void;
104pub type SpatialNavigationUpdatedEventArgs = *mut ::core::ffi::c_void;
105pub type SpatialPointerInteractionSourcePose = *mut ::core::ffi::c_void;
106pub type SpatialPointerPose = *mut ::core::ffi::c_void;
107pub type SpatialRecognitionEndedEventArgs = *mut ::core::ffi::c_void;
108pub type SpatialRecognitionStartedEventArgs = *mut ::core::ffi::c_void;
109pub type SpatialTappedEventArgs = *mut ::core::ffi::c_void;