]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/UI/Xaml/Controls/Maps/mod.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / UI / Xaml / Controls / Maps / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 pub type CustomMapTileDataSource = *mut ::core::ffi::c_void;
3 pub type HttpMapTileDataSource = *mut ::core::ffi::c_void;
4 pub type LocalMapTileDataSource = *mut ::core::ffi::c_void;
5 pub type MapActualCameraChangedEventArgs = *mut ::core::ffi::c_void;
6 pub type MapActualCameraChangingEventArgs = *mut ::core::ffi::c_void;
7 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
8 #[repr(transparent)]
9 pub struct MapAnimationKind(pub i32);
10 impl MapAnimationKind {
11 pub const Default: Self = Self(0i32);
12 pub const None: Self = Self(1i32);
13 pub const Linear: Self = Self(2i32);
14 pub const Bow: Self = Self(3i32);
15 }
16 impl ::core::marker::Copy for MapAnimationKind {}
17 impl ::core::clone::Clone for MapAnimationKind {
18 fn clone(&self) -> Self {
19 *self
20 }
21 }
22 pub type MapBillboard = *mut ::core::ffi::c_void;
23 pub type MapCamera = *mut ::core::ffi::c_void;
24 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
25 #[repr(transparent)]
26 pub struct MapCameraChangeReason(pub i32);
27 impl MapCameraChangeReason {
28 pub const System: Self = Self(0i32);
29 pub const UserInteraction: Self = Self(1i32);
30 pub const Programmatic: Self = Self(2i32);
31 }
32 impl ::core::marker::Copy for MapCameraChangeReason {}
33 impl ::core::clone::Clone for MapCameraChangeReason {
34 fn clone(&self) -> Self {
35 *self
36 }
37 }
38 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
39 #[repr(transparent)]
40 pub struct MapColorScheme(pub i32);
41 impl MapColorScheme {
42 pub const Light: Self = Self(0i32);
43 pub const Dark: Self = Self(1i32);
44 }
45 impl ::core::marker::Copy for MapColorScheme {}
46 impl ::core::clone::Clone for MapColorScheme {
47 fn clone(&self) -> Self {
48 *self
49 }
50 }
51 pub type MapContextRequestedEventArgs = *mut ::core::ffi::c_void;
52 pub type MapControl = *mut ::core::ffi::c_void;
53 pub type MapControlBusinessLandmarkClickEventArgs = *mut ::core::ffi::c_void;
54 pub type MapControlBusinessLandmarkPointerEnteredEventArgs = *mut ::core::ffi::c_void;
55 pub type MapControlBusinessLandmarkPointerExitedEventArgs = *mut ::core::ffi::c_void;
56 pub type MapControlBusinessLandmarkRightTappedEventArgs = *mut ::core::ffi::c_void;
57 pub type MapControlDataHelper = *mut ::core::ffi::c_void;
58 pub type MapControlTransitFeatureClickEventArgs = *mut ::core::ffi::c_void;
59 pub type MapControlTransitFeaturePointerEnteredEventArgs = *mut ::core::ffi::c_void;
60 pub type MapControlTransitFeaturePointerExitedEventArgs = *mut ::core::ffi::c_void;
61 pub type MapControlTransitFeatureRightTappedEventArgs = *mut ::core::ffi::c_void;
62 pub type MapCustomExperience = *mut ::core::ffi::c_void;
63 pub type MapCustomExperienceChangedEventArgs = *mut ::core::ffi::c_void;
64 pub type MapElement = *mut ::core::ffi::c_void;
65 pub type MapElement3D = *mut ::core::ffi::c_void;
66 pub type MapElementClickEventArgs = *mut ::core::ffi::c_void;
67 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
68 #[repr(transparent)]
69 pub struct MapElementCollisionBehavior(pub i32);
70 impl MapElementCollisionBehavior {
71 pub const Hide: Self = Self(0i32);
72 pub const RemainVisible: Self = Self(1i32);
73 }
74 impl ::core::marker::Copy for MapElementCollisionBehavior {}
75 impl ::core::clone::Clone for MapElementCollisionBehavior {
76 fn clone(&self) -> Self {
77 *self
78 }
79 }
80 pub type MapElementPointerEnteredEventArgs = *mut ::core::ffi::c_void;
81 pub type MapElementPointerExitedEventArgs = *mut ::core::ffi::c_void;
82 pub type MapElementsLayer = *mut ::core::ffi::c_void;
83 pub type MapElementsLayerClickEventArgs = *mut ::core::ffi::c_void;
84 pub type MapElementsLayerContextRequestedEventArgs = *mut ::core::ffi::c_void;
85 pub type MapElementsLayerPointerEnteredEventArgs = *mut ::core::ffi::c_void;
86 pub type MapElementsLayerPointerExitedEventArgs = *mut ::core::ffi::c_void;
87 pub type MapIcon = *mut ::core::ffi::c_void;
88 pub type MapInputEventArgs = *mut ::core::ffi::c_void;
89 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
90 #[repr(transparent)]
91 pub struct MapInteractionMode(pub i32);
92 impl MapInteractionMode {
93 pub const Auto: Self = Self(0i32);
94 pub const Disabled: Self = Self(1i32);
95 pub const GestureOnly: Self = Self(2i32);
96 pub const PointerAndKeyboard: Self = Self(2i32);
97 pub const ControlOnly: Self = Self(3i32);
98 pub const GestureAndControl: Self = Self(4i32);
99 pub const PointerKeyboardAndControl: Self = Self(4i32);
100 pub const PointerOnly: Self = Self(5i32);
101 }
102 impl ::core::marker::Copy for MapInteractionMode {}
103 impl ::core::clone::Clone for MapInteractionMode {
104 fn clone(&self) -> Self {
105 *self
106 }
107 }
108 pub type MapItemsControl = *mut ::core::ffi::c_void;
109 pub type MapLayer = *mut ::core::ffi::c_void;
110 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
111 #[repr(transparent)]
112 pub struct MapLoadingStatus(pub i32);
113 impl MapLoadingStatus {
114 pub const Loading: Self = Self(0i32);
115 pub const Loaded: Self = Self(1i32);
116 pub const DataUnavailable: Self = Self(2i32);
117 pub const DownloadedMapsManagerUnavailable: Self = Self(3i32);
118 }
119 impl ::core::marker::Copy for MapLoadingStatus {}
120 impl ::core::clone::Clone for MapLoadingStatus {
121 fn clone(&self) -> Self {
122 *self
123 }
124 }
125 pub type MapModel3D = *mut ::core::ffi::c_void;
126 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
127 #[repr(transparent)]
128 pub struct MapModel3DShadingOption(pub i32);
129 impl MapModel3DShadingOption {
130 pub const Default: Self = Self(0i32);
131 pub const Flat: Self = Self(1i32);
132 pub const Smooth: Self = Self(2i32);
133 }
134 impl ::core::marker::Copy for MapModel3DShadingOption {}
135 impl ::core::clone::Clone for MapModel3DShadingOption {
136 fn clone(&self) -> Self {
137 *self
138 }
139 }
140 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
141 #[repr(transparent)]
142 pub struct MapPanInteractionMode(pub i32);
143 impl MapPanInteractionMode {
144 pub const Auto: Self = Self(0i32);
145 pub const Disabled: Self = Self(1i32);
146 }
147 impl ::core::marker::Copy for MapPanInteractionMode {}
148 impl ::core::clone::Clone for MapPanInteractionMode {
149 fn clone(&self) -> Self {
150 *self
151 }
152 }
153 pub type MapPolygon = *mut ::core::ffi::c_void;
154 pub type MapPolyline = *mut ::core::ffi::c_void;
155 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
156 #[repr(transparent)]
157 pub struct MapProjection(pub i32);
158 impl MapProjection {
159 pub const WebMercator: Self = Self(0i32);
160 pub const Globe: Self = Self(1i32);
161 }
162 impl ::core::marker::Copy for MapProjection {}
163 impl ::core::clone::Clone for MapProjection {
164 fn clone(&self) -> Self {
165 *self
166 }
167 }
168 pub type MapRightTappedEventArgs = *mut ::core::ffi::c_void;
169 pub type MapRouteView = *mut ::core::ffi::c_void;
170 pub type MapScene = *mut ::core::ffi::c_void;
171 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
172 #[repr(transparent)]
173 pub struct MapStyle(pub i32);
174 impl MapStyle {
175 pub const None: Self = Self(0i32);
176 pub const Road: Self = Self(1i32);
177 pub const Aerial: Self = Self(2i32);
178 pub const AerialWithRoads: Self = Self(3i32);
179 pub const Terrain: Self = Self(4i32);
180 pub const Aerial3D: Self = Self(5i32);
181 pub const Aerial3DWithRoads: Self = Self(6i32);
182 pub const Custom: Self = Self(7i32);
183 }
184 impl ::core::marker::Copy for MapStyle {}
185 impl ::core::clone::Clone for MapStyle {
186 fn clone(&self) -> Self {
187 *self
188 }
189 }
190 pub type MapStyleSheet = *mut ::core::ffi::c_void;
191 pub type MapTargetCameraChangedEventArgs = *mut ::core::ffi::c_void;
192 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
193 #[repr(transparent)]
194 pub struct MapTileAnimationState(pub i32);
195 impl MapTileAnimationState {
196 pub const Stopped: Self = Self(0i32);
197 pub const Paused: Self = Self(1i32);
198 pub const Playing: Self = Self(2i32);
199 }
200 impl ::core::marker::Copy for MapTileAnimationState {}
201 impl ::core::clone::Clone for MapTileAnimationState {
202 fn clone(&self) -> Self {
203 *self
204 }
205 }
206 pub type MapTileBitmapRequest = *mut ::core::ffi::c_void;
207 pub type MapTileBitmapRequestDeferral = *mut ::core::ffi::c_void;
208 pub type MapTileBitmapRequestedEventArgs = *mut ::core::ffi::c_void;
209 pub type MapTileDataSource = *mut ::core::ffi::c_void;
210 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
211 #[repr(transparent)]
212 pub struct MapTileLayer(pub i32);
213 impl MapTileLayer {
214 pub const LabelOverlay: Self = Self(0i32);
215 pub const RoadOverlay: Self = Self(1i32);
216 pub const AreaOverlay: Self = Self(2i32);
217 pub const BackgroundOverlay: Self = Self(3i32);
218 pub const BackgroundReplacement: Self = Self(4i32);
219 }
220 impl ::core::marker::Copy for MapTileLayer {}
221 impl ::core::clone::Clone for MapTileLayer {
222 fn clone(&self) -> Self {
223 *self
224 }
225 }
226 pub type MapTileSource = *mut ::core::ffi::c_void;
227 pub type MapTileUriRequest = *mut ::core::ffi::c_void;
228 pub type MapTileUriRequestDeferral = *mut ::core::ffi::c_void;
229 pub type MapTileUriRequestedEventArgs = *mut ::core::ffi::c_void;
230 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
231 #[repr(transparent)]
232 pub struct MapVisibleRegionKind(pub i32);
233 impl MapVisibleRegionKind {
234 pub const Near: Self = Self(0i32);
235 pub const Full: Self = Self(1i32);
236 }
237 impl ::core::marker::Copy for MapVisibleRegionKind {}
238 impl ::core::clone::Clone for MapVisibleRegionKind {
239 fn clone(&self) -> Self {
240 *self
241 }
242 }
243 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
244 #[repr(transparent)]
245 pub struct MapWatermarkMode(pub i32);
246 impl MapWatermarkMode {
247 pub const Automatic: Self = Self(0i32);
248 pub const On: Self = Self(1i32);
249 }
250 impl ::core::marker::Copy for MapWatermarkMode {}
251 impl ::core::clone::Clone for MapWatermarkMode {
252 fn clone(&self) -> Self {
253 *self
254 }
255 }
256 #[repr(C)]
257 #[doc = "*Required features: 'UI_Xaml_Controls_Maps'*"]
258 pub struct MapZoomLevelRange {
259 pub Min: f64,
260 pub Max: f64,
261 }
262 impl ::core::marker::Copy for MapZoomLevelRange {}
263 impl ::core::clone::Clone for MapZoomLevelRange {
264 fn clone(&self) -> Self {
265 *self
266 }
267 }
268 pub type StreetsideExperience = *mut ::core::ffi::c_void;
269 pub type StreetsidePanorama = *mut ::core::ffi::c_void;