]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
2 | #[cfg(feature = "UI_Xaml_Automation")] | |
3 | pub mod Automation; | |
4 | #[cfg(feature = "UI_Xaml_Controls")] | |
5 | pub mod Controls; | |
6 | #[cfg(feature = "UI_Xaml_Core")] | |
7 | pub mod Core; | |
8 | #[cfg(feature = "UI_Xaml_Data")] | |
9 | pub mod Data; | |
10 | #[cfg(feature = "UI_Xaml_Documents")] | |
11 | pub mod Documents; | |
12 | #[cfg(feature = "UI_Xaml_Hosting")] | |
13 | pub mod Hosting; | |
14 | #[cfg(feature = "UI_Xaml_Input")] | |
15 | pub mod Input; | |
16 | #[cfg(feature = "UI_Xaml_Interop")] | |
17 | pub mod Interop; | |
18 | #[cfg(feature = "UI_Xaml_Markup")] | |
19 | pub mod Markup; | |
20 | #[cfg(feature = "UI_Xaml_Media")] | |
21 | pub mod Media; | |
22 | #[cfg(feature = "UI_Xaml_Navigation")] | |
23 | pub mod Navigation; | |
24 | #[cfg(feature = "UI_Xaml_Printing")] | |
25 | pub mod Printing; | |
26 | #[cfg(feature = "UI_Xaml_Resources")] | |
27 | pub mod Resources; | |
28 | #[cfg(feature = "UI_Xaml_Shapes")] | |
29 | pub mod Shapes; | |
30 | pub type AdaptiveTrigger = *mut ::core::ffi::c_void; | |
31 | pub type Application = *mut ::core::ffi::c_void; | |
04454e1e | 32 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
33 | #[repr(transparent)] |
34 | pub struct ApplicationHighContrastAdjustment(pub u32); | |
35 | impl ApplicationHighContrastAdjustment { | |
36 | pub const None: Self = Self(0u32); | |
37 | pub const Auto: Self = Self(4294967295u32); | |
38 | } | |
39 | impl ::core::marker::Copy for ApplicationHighContrastAdjustment {} | |
40 | impl ::core::clone::Clone for ApplicationHighContrastAdjustment { | |
41 | fn clone(&self) -> Self { | |
42 | *self | |
43 | } | |
44 | } | |
45 | pub type ApplicationInitializationCallback = *mut ::core::ffi::c_void; | |
46 | pub type ApplicationInitializationCallbackParams = *mut ::core::ffi::c_void; | |
04454e1e | 47 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
48 | #[repr(transparent)] |
49 | pub struct ApplicationRequiresPointerMode(pub i32); | |
50 | impl ApplicationRequiresPointerMode { | |
51 | pub const Auto: Self = Self(0i32); | |
52 | pub const WhenRequested: Self = Self(1i32); | |
53 | } | |
54 | impl ::core::marker::Copy for ApplicationRequiresPointerMode {} | |
55 | impl ::core::clone::Clone for ApplicationRequiresPointerMode { | |
56 | fn clone(&self) -> Self { | |
57 | *self | |
58 | } | |
59 | } | |
04454e1e | 60 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
61 | #[repr(transparent)] |
62 | pub struct ApplicationTheme(pub i32); | |
63 | impl ApplicationTheme { | |
64 | pub const Light: Self = Self(0i32); | |
65 | pub const Dark: Self = Self(1i32); | |
66 | } | |
67 | impl ::core::marker::Copy for ApplicationTheme {} | |
68 | impl ::core::clone::Clone for ApplicationTheme { | |
69 | fn clone(&self) -> Self { | |
70 | *self | |
71 | } | |
72 | } | |
04454e1e | 73 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
74 | #[repr(transparent)] |
75 | pub struct AutomationTextAttributesEnum(pub i32); | |
76 | impl AutomationTextAttributesEnum { | |
77 | pub const AnimationStyleAttribute: Self = Self(40000i32); | |
78 | pub const BackgroundColorAttribute: Self = Self(40001i32); | |
79 | pub const BulletStyleAttribute: Self = Self(40002i32); | |
80 | pub const CapStyleAttribute: Self = Self(40003i32); | |
81 | pub const CultureAttribute: Self = Self(40004i32); | |
82 | pub const FontNameAttribute: Self = Self(40005i32); | |
83 | pub const FontSizeAttribute: Self = Self(40006i32); | |
84 | pub const FontWeightAttribute: Self = Self(40007i32); | |
85 | pub const ForegroundColorAttribute: Self = Self(40008i32); | |
86 | pub const HorizontalTextAlignmentAttribute: Self = Self(40009i32); | |
87 | pub const IndentationFirstLineAttribute: Self = Self(40010i32); | |
88 | pub const IndentationLeadingAttribute: Self = Self(40011i32); | |
89 | pub const IndentationTrailingAttribute: Self = Self(40012i32); | |
90 | pub const IsHiddenAttribute: Self = Self(40013i32); | |
91 | pub const IsItalicAttribute: Self = Self(40014i32); | |
92 | pub const IsReadOnlyAttribute: Self = Self(40015i32); | |
93 | pub const IsSubscriptAttribute: Self = Self(40016i32); | |
94 | pub const IsSuperscriptAttribute: Self = Self(40017i32); | |
95 | pub const MarginBottomAttribute: Self = Self(40018i32); | |
96 | pub const MarginLeadingAttribute: Self = Self(40019i32); | |
97 | pub const MarginTopAttribute: Self = Self(40020i32); | |
98 | pub const MarginTrailingAttribute: Self = Self(40021i32); | |
99 | pub const OutlineStylesAttribute: Self = Self(40022i32); | |
100 | pub const OverlineColorAttribute: Self = Self(40023i32); | |
101 | pub const OverlineStyleAttribute: Self = Self(40024i32); | |
102 | pub const StrikethroughColorAttribute: Self = Self(40025i32); | |
103 | pub const StrikethroughStyleAttribute: Self = Self(40026i32); | |
104 | pub const TabsAttribute: Self = Self(40027i32); | |
105 | pub const TextFlowDirectionsAttribute: Self = Self(40028i32); | |
106 | pub const UnderlineColorAttribute: Self = Self(40029i32); | |
107 | pub const UnderlineStyleAttribute: Self = Self(40030i32); | |
108 | pub const AnnotationTypesAttribute: Self = Self(40031i32); | |
109 | pub const AnnotationObjectsAttribute: Self = Self(40032i32); | |
110 | pub const StyleNameAttribute: Self = Self(40033i32); | |
111 | pub const StyleIdAttribute: Self = Self(40034i32); | |
112 | pub const LinkAttribute: Self = Self(40035i32); | |
113 | pub const IsActiveAttribute: Self = Self(40036i32); | |
114 | pub const SelectionActiveEndAttribute: Self = Self(40037i32); | |
115 | pub const CaretPositionAttribute: Self = Self(40038i32); | |
116 | pub const CaretBidiModeAttribute: Self = Self(40039i32); | |
117 | } | |
118 | impl ::core::marker::Copy for AutomationTextAttributesEnum {} | |
119 | impl ::core::clone::Clone for AutomationTextAttributesEnum { | |
120 | fn clone(&self) -> Self { | |
121 | *self | |
122 | } | |
123 | } | |
124 | pub type BindingFailedEventArgs = *mut ::core::ffi::c_void; | |
125 | pub type BindingFailedEventHandler = *mut ::core::ffi::c_void; | |
126 | pub type BringIntoViewOptions = *mut ::core::ffi::c_void; | |
127 | pub type BringIntoViewRequestedEventArgs = *mut ::core::ffi::c_void; | |
128 | pub type BrushTransition = *mut ::core::ffi::c_void; | |
129 | pub type ColorPaletteResources = *mut ::core::ffi::c_void; | |
130 | #[repr(C)] | |
04454e1e | 131 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
132 | pub struct CornerRadius { |
133 | pub TopLeft: f64, | |
134 | pub TopRight: f64, | |
135 | pub BottomRight: f64, | |
136 | pub BottomLeft: f64, | |
137 | } | |
138 | impl ::core::marker::Copy for CornerRadius {} | |
139 | impl ::core::clone::Clone for CornerRadius { | |
140 | fn clone(&self) -> Self { | |
141 | *self | |
142 | } | |
143 | } | |
144 | pub type CornerRadiusHelper = *mut ::core::ffi::c_void; | |
145 | pub type CreateDefaultValueCallback = *mut ::core::ffi::c_void; | |
146 | pub type DataContextChangedEventArgs = *mut ::core::ffi::c_void; | |
147 | pub type DataTemplate = *mut ::core::ffi::c_void; | |
148 | pub type DataTemplateKey = *mut ::core::ffi::c_void; | |
149 | pub type DebugSettings = *mut ::core::ffi::c_void; | |
150 | pub type DependencyObject = *mut ::core::ffi::c_void; | |
151 | pub type DependencyObjectCollection = *mut ::core::ffi::c_void; | |
152 | pub type DependencyProperty = *mut ::core::ffi::c_void; | |
153 | pub type DependencyPropertyChangedCallback = *mut ::core::ffi::c_void; | |
154 | pub type DependencyPropertyChangedEventArgs = *mut ::core::ffi::c_void; | |
155 | pub type DependencyPropertyChangedEventHandler = *mut ::core::ffi::c_void; | |
156 | pub type DispatcherTimer = *mut ::core::ffi::c_void; | |
157 | pub type DragEventArgs = *mut ::core::ffi::c_void; | |
158 | pub type DragEventHandler = *mut ::core::ffi::c_void; | |
159 | pub type DragOperationDeferral = *mut ::core::ffi::c_void; | |
160 | pub type DragStartingEventArgs = *mut ::core::ffi::c_void; | |
161 | pub type DragUI = *mut ::core::ffi::c_void; | |
162 | pub type DragUIOverride = *mut ::core::ffi::c_void; | |
163 | pub type DropCompletedEventArgs = *mut ::core::ffi::c_void; | |
164 | #[repr(C)] | |
04454e1e | 165 | #[doc = "*Required features: `\"UI_Xaml\"`, `\"Foundation\"`*"] |
5e7ed085 FG |
166 | #[cfg(feature = "Foundation")] |
167 | pub struct Duration { | |
168 | pub TimeSpan: super::super::Foundation::TimeSpan, | |
169 | pub Type: DurationType, | |
170 | } | |
171 | #[cfg(feature = "Foundation")] | |
172 | impl ::core::marker::Copy for Duration {} | |
173 | #[cfg(feature = "Foundation")] | |
174 | impl ::core::clone::Clone for Duration { | |
175 | fn clone(&self) -> Self { | |
176 | *self | |
177 | } | |
178 | } | |
179 | pub type DurationHelper = *mut ::core::ffi::c_void; | |
04454e1e | 180 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
181 | #[repr(transparent)] |
182 | pub struct DurationType(pub i32); | |
183 | impl DurationType { | |
184 | pub const Automatic: Self = Self(0i32); | |
185 | pub const TimeSpan: Self = Self(1i32); | |
186 | pub const Forever: Self = Self(2i32); | |
187 | } | |
188 | impl ::core::marker::Copy for DurationType {} | |
189 | impl ::core::clone::Clone for DurationType { | |
190 | fn clone(&self) -> Self { | |
191 | *self | |
192 | } | |
193 | } | |
194 | pub type EffectiveViewportChangedEventArgs = *mut ::core::ffi::c_void; | |
195 | pub type ElementFactoryGetArgs = *mut ::core::ffi::c_void; | |
196 | pub type ElementFactoryRecycleArgs = *mut ::core::ffi::c_void; | |
04454e1e | 197 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
198 | #[repr(transparent)] |
199 | pub struct ElementHighContrastAdjustment(pub u32); | |
200 | impl ElementHighContrastAdjustment { | |
201 | pub const None: Self = Self(0u32); | |
202 | pub const Application: Self = Self(2147483648u32); | |
203 | pub const Auto: Self = Self(4294967295u32); | |
204 | } | |
205 | impl ::core::marker::Copy for ElementHighContrastAdjustment {} | |
206 | impl ::core::clone::Clone for ElementHighContrastAdjustment { | |
207 | fn clone(&self) -> Self { | |
208 | *self | |
209 | } | |
210 | } | |
04454e1e | 211 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
212 | #[repr(transparent)] |
213 | pub struct ElementSoundKind(pub i32); | |
214 | impl ElementSoundKind { | |
215 | pub const Focus: Self = Self(0i32); | |
216 | pub const Invoke: Self = Self(1i32); | |
217 | pub const Show: Self = Self(2i32); | |
218 | pub const Hide: Self = Self(3i32); | |
219 | pub const MovePrevious: Self = Self(4i32); | |
220 | pub const MoveNext: Self = Self(5i32); | |
221 | pub const GoBack: Self = Self(6i32); | |
222 | } | |
223 | impl ::core::marker::Copy for ElementSoundKind {} | |
224 | impl ::core::clone::Clone for ElementSoundKind { | |
225 | fn clone(&self) -> Self { | |
226 | *self | |
227 | } | |
228 | } | |
04454e1e | 229 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
230 | #[repr(transparent)] |
231 | pub struct ElementSoundMode(pub i32); | |
232 | impl ElementSoundMode { | |
233 | pub const Default: Self = Self(0i32); | |
234 | pub const FocusOnly: Self = Self(1i32); | |
235 | pub const Off: Self = Self(2i32); | |
236 | } | |
237 | impl ::core::marker::Copy for ElementSoundMode {} | |
238 | impl ::core::clone::Clone for ElementSoundMode { | |
239 | fn clone(&self) -> Self { | |
240 | *self | |
241 | } | |
242 | } | |
243 | pub type ElementSoundPlayer = *mut ::core::ffi::c_void; | |
04454e1e | 244 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
245 | #[repr(transparent)] |
246 | pub struct ElementSoundPlayerState(pub i32); | |
247 | impl ElementSoundPlayerState { | |
248 | pub const Auto: Self = Self(0i32); | |
249 | pub const Off: Self = Self(1i32); | |
250 | pub const On: Self = Self(2i32); | |
251 | } | |
252 | impl ::core::marker::Copy for ElementSoundPlayerState {} | |
253 | impl ::core::clone::Clone for ElementSoundPlayerState { | |
254 | fn clone(&self) -> Self { | |
255 | *self | |
256 | } | |
257 | } | |
04454e1e | 258 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
259 | #[repr(transparent)] |
260 | pub struct ElementSpatialAudioMode(pub i32); | |
261 | impl ElementSpatialAudioMode { | |
262 | pub const Auto: Self = Self(0i32); | |
263 | pub const Off: Self = Self(1i32); | |
264 | pub const On: Self = Self(2i32); | |
265 | } | |
266 | impl ::core::marker::Copy for ElementSpatialAudioMode {} | |
267 | impl ::core::clone::Clone for ElementSpatialAudioMode { | |
268 | fn clone(&self) -> Self { | |
269 | *self | |
270 | } | |
271 | } | |
04454e1e | 272 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
273 | #[repr(transparent)] |
274 | pub struct ElementTheme(pub i32); | |
275 | impl ElementTheme { | |
276 | pub const Default: Self = Self(0i32); | |
277 | pub const Light: Self = Self(1i32); | |
278 | pub const Dark: Self = Self(2i32); | |
279 | } | |
280 | impl ::core::marker::Copy for ElementTheme {} | |
281 | impl ::core::clone::Clone for ElementTheme { | |
282 | fn clone(&self) -> Self { | |
283 | *self | |
284 | } | |
285 | } | |
286 | pub type EnteredBackgroundEventHandler = *mut ::core::ffi::c_void; | |
287 | pub type EventTrigger = *mut ::core::ffi::c_void; | |
288 | pub type ExceptionRoutedEventArgs = *mut ::core::ffi::c_void; | |
289 | pub type ExceptionRoutedEventHandler = *mut ::core::ffi::c_void; | |
04454e1e | 290 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
291 | #[repr(transparent)] |
292 | pub struct FlowDirection(pub i32); | |
293 | impl FlowDirection { | |
294 | pub const LeftToRight: Self = Self(0i32); | |
295 | pub const RightToLeft: Self = Self(1i32); | |
296 | } | |
297 | impl ::core::marker::Copy for FlowDirection {} | |
298 | impl ::core::clone::Clone for FlowDirection { | |
299 | fn clone(&self) -> Self { | |
300 | *self | |
301 | } | |
302 | } | |
04454e1e | 303 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
304 | #[repr(transparent)] |
305 | pub struct FocusState(pub i32); | |
306 | impl FocusState { | |
307 | pub const Unfocused: Self = Self(0i32); | |
308 | pub const Pointer: Self = Self(1i32); | |
309 | pub const Keyboard: Self = Self(2i32); | |
310 | pub const Programmatic: Self = Self(3i32); | |
311 | } | |
312 | impl ::core::marker::Copy for FocusState {} | |
313 | impl ::core::clone::Clone for FocusState { | |
314 | fn clone(&self) -> Self { | |
315 | *self | |
316 | } | |
317 | } | |
04454e1e | 318 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
319 | #[repr(transparent)] |
320 | pub struct FocusVisualKind(pub i32); | |
321 | impl FocusVisualKind { | |
322 | pub const DottedLine: Self = Self(0i32); | |
323 | pub const HighVisibility: Self = Self(1i32); | |
324 | pub const Reveal: Self = Self(2i32); | |
325 | } | |
326 | impl ::core::marker::Copy for FocusVisualKind {} | |
327 | impl ::core::clone::Clone for FocusVisualKind { | |
328 | fn clone(&self) -> Self { | |
329 | *self | |
330 | } | |
331 | } | |
04454e1e | 332 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
333 | #[repr(transparent)] |
334 | pub struct FontCapitals(pub i32); | |
335 | impl FontCapitals { | |
336 | pub const Normal: Self = Self(0i32); | |
337 | pub const AllSmallCaps: Self = Self(1i32); | |
338 | pub const SmallCaps: Self = Self(2i32); | |
339 | pub const AllPetiteCaps: Self = Self(3i32); | |
340 | pub const PetiteCaps: Self = Self(4i32); | |
341 | pub const Unicase: Self = Self(5i32); | |
342 | pub const Titling: Self = Self(6i32); | |
343 | } | |
344 | impl ::core::marker::Copy for FontCapitals {} | |
345 | impl ::core::clone::Clone for FontCapitals { | |
346 | fn clone(&self) -> Self { | |
347 | *self | |
348 | } | |
349 | } | |
04454e1e | 350 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
351 | #[repr(transparent)] |
352 | pub struct FontEastAsianLanguage(pub i32); | |
353 | impl FontEastAsianLanguage { | |
354 | pub const Normal: Self = Self(0i32); | |
355 | pub const HojoKanji: Self = Self(1i32); | |
356 | pub const Jis04: Self = Self(2i32); | |
357 | pub const Jis78: Self = Self(3i32); | |
358 | pub const Jis83: Self = Self(4i32); | |
359 | pub const Jis90: Self = Self(5i32); | |
360 | pub const NlcKanji: Self = Self(6i32); | |
361 | pub const Simplified: Self = Self(7i32); | |
362 | pub const Traditional: Self = Self(8i32); | |
363 | pub const TraditionalNames: Self = Self(9i32); | |
364 | } | |
365 | impl ::core::marker::Copy for FontEastAsianLanguage {} | |
366 | impl ::core::clone::Clone for FontEastAsianLanguage { | |
367 | fn clone(&self) -> Self { | |
368 | *self | |
369 | } | |
370 | } | |
04454e1e | 371 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
372 | #[repr(transparent)] |
373 | pub struct FontEastAsianWidths(pub i32); | |
374 | impl FontEastAsianWidths { | |
375 | pub const Normal: Self = Self(0i32); | |
376 | pub const Full: Self = Self(1i32); | |
377 | pub const Half: Self = Self(2i32); | |
378 | pub const Proportional: Self = Self(3i32); | |
379 | pub const Quarter: Self = Self(4i32); | |
380 | pub const Third: Self = Self(5i32); | |
381 | } | |
382 | impl ::core::marker::Copy for FontEastAsianWidths {} | |
383 | impl ::core::clone::Clone for FontEastAsianWidths { | |
384 | fn clone(&self) -> Self { | |
385 | *self | |
386 | } | |
387 | } | |
04454e1e | 388 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
389 | #[repr(transparent)] |
390 | pub struct FontFraction(pub i32); | |
391 | impl FontFraction { | |
392 | pub const Normal: Self = Self(0i32); | |
393 | pub const Stacked: Self = Self(1i32); | |
394 | pub const Slashed: Self = Self(2i32); | |
395 | } | |
396 | impl ::core::marker::Copy for FontFraction {} | |
397 | impl ::core::clone::Clone for FontFraction { | |
398 | fn clone(&self) -> Self { | |
399 | *self | |
400 | } | |
401 | } | |
04454e1e | 402 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
403 | #[repr(transparent)] |
404 | pub struct FontNumeralAlignment(pub i32); | |
405 | impl FontNumeralAlignment { | |
406 | pub const Normal: Self = Self(0i32); | |
407 | pub const Proportional: Self = Self(1i32); | |
408 | pub const Tabular: Self = Self(2i32); | |
409 | } | |
410 | impl ::core::marker::Copy for FontNumeralAlignment {} | |
411 | impl ::core::clone::Clone for FontNumeralAlignment { | |
412 | fn clone(&self) -> Self { | |
413 | *self | |
414 | } | |
415 | } | |
04454e1e | 416 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
417 | #[repr(transparent)] |
418 | pub struct FontNumeralStyle(pub i32); | |
419 | impl FontNumeralStyle { | |
420 | pub const Normal: Self = Self(0i32); | |
421 | pub const Lining: Self = Self(1i32); | |
422 | pub const OldStyle: Self = Self(2i32); | |
423 | } | |
424 | impl ::core::marker::Copy for FontNumeralStyle {} | |
425 | impl ::core::clone::Clone for FontNumeralStyle { | |
426 | fn clone(&self) -> Self { | |
427 | *self | |
428 | } | |
429 | } | |
04454e1e | 430 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
431 | #[repr(transparent)] |
432 | pub struct FontVariants(pub i32); | |
433 | impl FontVariants { | |
434 | pub const Normal: Self = Self(0i32); | |
435 | pub const Superscript: Self = Self(1i32); | |
436 | pub const Subscript: Self = Self(2i32); | |
437 | pub const Ordinal: Self = Self(3i32); | |
438 | pub const Inferior: Self = Self(4i32); | |
439 | pub const Ruby: Self = Self(5i32); | |
440 | } | |
441 | impl ::core::marker::Copy for FontVariants {} | |
442 | impl ::core::clone::Clone for FontVariants { | |
443 | fn clone(&self) -> Self { | |
444 | *self | |
445 | } | |
446 | } | |
447 | pub type FrameworkElement = *mut ::core::ffi::c_void; | |
448 | pub type FrameworkTemplate = *mut ::core::ffi::c_void; | |
449 | pub type FrameworkView = *mut ::core::ffi::c_void; | |
450 | pub type FrameworkViewSource = *mut ::core::ffi::c_void; | |
451 | #[repr(C)] | |
04454e1e | 452 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
453 | pub struct GridLength { |
454 | pub Value: f64, | |
455 | pub GridUnitType: GridUnitType, | |
456 | } | |
457 | impl ::core::marker::Copy for GridLength {} | |
458 | impl ::core::clone::Clone for GridLength { | |
459 | fn clone(&self) -> Self { | |
460 | *self | |
461 | } | |
462 | } | |
463 | pub type GridLengthHelper = *mut ::core::ffi::c_void; | |
04454e1e | 464 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
465 | #[repr(transparent)] |
466 | pub struct GridUnitType(pub i32); | |
467 | impl GridUnitType { | |
468 | pub const Auto: Self = Self(0i32); | |
469 | pub const Pixel: Self = Self(1i32); | |
470 | pub const Star: Self = Self(2i32); | |
471 | } | |
472 | impl ::core::marker::Copy for GridUnitType {} | |
473 | impl ::core::clone::Clone for GridUnitType { | |
474 | fn clone(&self) -> Self { | |
475 | *self | |
476 | } | |
477 | } | |
04454e1e | 478 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
479 | #[repr(transparent)] |
480 | pub struct HorizontalAlignment(pub i32); | |
481 | impl HorizontalAlignment { | |
482 | pub const Left: Self = Self(0i32); | |
483 | pub const Center: Self = Self(1i32); | |
484 | pub const Right: Self = Self(2i32); | |
485 | pub const Stretch: Self = Self(3i32); | |
486 | } | |
487 | impl ::core::marker::Copy for HorizontalAlignment {} | |
488 | impl ::core::clone::Clone for HorizontalAlignment { | |
489 | fn clone(&self) -> Self { | |
490 | *self | |
491 | } | |
492 | } | |
493 | pub type IDataTemplateExtension = *mut ::core::ffi::c_void; | |
494 | pub type IElementFactory = *mut ::core::ffi::c_void; | |
495 | pub type LeavingBackgroundEventHandler = *mut ::core::ffi::c_void; | |
04454e1e | 496 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
497 | #[repr(transparent)] |
498 | pub struct LineStackingStrategy(pub i32); | |
499 | impl LineStackingStrategy { | |
500 | pub const MaxHeight: Self = Self(0i32); | |
501 | pub const BlockLineHeight: Self = Self(1i32); | |
502 | pub const BaselineToBaseline: Self = Self(2i32); | |
503 | } | |
504 | impl ::core::marker::Copy for LineStackingStrategy {} | |
505 | impl ::core::clone::Clone for LineStackingStrategy { | |
506 | fn clone(&self) -> Self { | |
507 | *self | |
508 | } | |
509 | } | |
510 | pub type MediaFailedRoutedEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 511 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
512 | #[repr(transparent)] |
513 | pub struct OpticalMarginAlignment(pub i32); | |
514 | impl OpticalMarginAlignment { | |
515 | pub const None: Self = Self(0i32); | |
516 | pub const TrimSideBearings: Self = Self(1i32); | |
517 | } | |
518 | impl ::core::marker::Copy for OpticalMarginAlignment {} | |
519 | impl ::core::clone::Clone for OpticalMarginAlignment { | |
520 | fn clone(&self) -> Self { | |
521 | *self | |
522 | } | |
523 | } | |
524 | pub type PointHelper = *mut ::core::ffi::c_void; | |
525 | pub type PropertyChangedCallback = *mut ::core::ffi::c_void; | |
526 | pub type PropertyMetadata = *mut ::core::ffi::c_void; | |
527 | pub type PropertyPath = *mut ::core::ffi::c_void; | |
528 | pub type RectHelper = *mut ::core::ffi::c_void; | |
529 | pub type ResourceDictionary = *mut ::core::ffi::c_void; | |
530 | pub type RoutedEvent = *mut ::core::ffi::c_void; | |
531 | pub type RoutedEventArgs = *mut ::core::ffi::c_void; | |
532 | pub type RoutedEventHandler = *mut ::core::ffi::c_void; | |
533 | pub type ScalarTransition = *mut ::core::ffi::c_void; | |
534 | pub type Setter = *mut ::core::ffi::c_void; | |
535 | pub type SetterBase = *mut ::core::ffi::c_void; | |
536 | pub type SetterBaseCollection = *mut ::core::ffi::c_void; | |
537 | pub type SizeChangedEventArgs = *mut ::core::ffi::c_void; | |
538 | pub type SizeChangedEventHandler = *mut ::core::ffi::c_void; | |
539 | pub type SizeHelper = *mut ::core::ffi::c_void; | |
540 | pub type StateTrigger = *mut ::core::ffi::c_void; | |
541 | pub type StateTriggerBase = *mut ::core::ffi::c_void; | |
542 | pub type Style = *mut ::core::ffi::c_void; | |
543 | pub type SuspendingEventHandler = *mut ::core::ffi::c_void; | |
544 | pub type TargetPropertyPath = *mut ::core::ffi::c_void; | |
04454e1e | 545 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
546 | #[repr(transparent)] |
547 | pub struct TextAlignment(pub i32); | |
548 | impl TextAlignment { | |
549 | pub const Center: Self = Self(0i32); | |
550 | pub const Left: Self = Self(1i32); | |
551 | pub const Start: Self = Self(1i32); | |
552 | pub const Right: Self = Self(2i32); | |
553 | pub const End: Self = Self(2i32); | |
554 | pub const Justify: Self = Self(3i32); | |
555 | pub const DetectFromContent: Self = Self(4i32); | |
556 | } | |
557 | impl ::core::marker::Copy for TextAlignment {} | |
558 | impl ::core::clone::Clone for TextAlignment { | |
559 | fn clone(&self) -> Self { | |
560 | *self | |
561 | } | |
562 | } | |
04454e1e | 563 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
564 | #[repr(transparent)] |
565 | pub struct TextLineBounds(pub i32); | |
566 | impl TextLineBounds { | |
567 | pub const Full: Self = Self(0i32); | |
568 | pub const TrimToCapHeight: Self = Self(1i32); | |
569 | pub const TrimToBaseline: Self = Self(2i32); | |
570 | pub const Tight: Self = Self(3i32); | |
571 | } | |
572 | impl ::core::marker::Copy for TextLineBounds {} | |
573 | impl ::core::clone::Clone for TextLineBounds { | |
574 | fn clone(&self) -> Self { | |
575 | *self | |
576 | } | |
577 | } | |
04454e1e | 578 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
579 | #[repr(transparent)] |
580 | pub struct TextReadingOrder(pub i32); | |
581 | impl TextReadingOrder { | |
582 | pub const Default: Self = Self(0i32); | |
583 | pub const UseFlowDirection: Self = Self(0i32); | |
584 | pub const DetectFromContent: Self = Self(1i32); | |
585 | } | |
586 | impl ::core::marker::Copy for TextReadingOrder {} | |
587 | impl ::core::clone::Clone for TextReadingOrder { | |
588 | fn clone(&self) -> Self { | |
589 | *self | |
590 | } | |
591 | } | |
04454e1e | 592 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
593 | #[repr(transparent)] |
594 | pub struct TextTrimming(pub i32); | |
595 | impl TextTrimming { | |
596 | pub const None: Self = Self(0i32); | |
597 | pub const CharacterEllipsis: Self = Self(1i32); | |
598 | pub const WordEllipsis: Self = Self(2i32); | |
599 | pub const Clip: Self = Self(3i32); | |
600 | } | |
601 | impl ::core::marker::Copy for TextTrimming {} | |
602 | impl ::core::clone::Clone for TextTrimming { | |
603 | fn clone(&self) -> Self { | |
604 | *self | |
605 | } | |
606 | } | |
04454e1e | 607 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
608 | #[repr(transparent)] |
609 | pub struct TextWrapping(pub i32); | |
610 | impl TextWrapping { | |
611 | pub const NoWrap: Self = Self(1i32); | |
612 | pub const Wrap: Self = Self(2i32); | |
613 | pub const WrapWholeWords: Self = Self(3i32); | |
614 | } | |
615 | impl ::core::marker::Copy for TextWrapping {} | |
616 | impl ::core::clone::Clone for TextWrapping { | |
617 | fn clone(&self) -> Self { | |
618 | *self | |
619 | } | |
620 | } | |
621 | #[repr(C)] | |
04454e1e | 622 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
623 | pub struct Thickness { |
624 | pub Left: f64, | |
625 | pub Top: f64, | |
626 | pub Right: f64, | |
627 | pub Bottom: f64, | |
628 | } | |
629 | impl ::core::marker::Copy for Thickness {} | |
630 | impl ::core::clone::Clone for Thickness { | |
631 | fn clone(&self) -> Self { | |
632 | *self | |
633 | } | |
634 | } | |
635 | pub type ThicknessHelper = *mut ::core::ffi::c_void; | |
636 | pub type TriggerAction = *mut ::core::ffi::c_void; | |
637 | pub type TriggerActionCollection = *mut ::core::ffi::c_void; | |
638 | pub type TriggerBase = *mut ::core::ffi::c_void; | |
639 | pub type TriggerCollection = *mut ::core::ffi::c_void; | |
640 | pub type UIElement = *mut ::core::ffi::c_void; | |
641 | pub type UIElementWeakCollection = *mut ::core::ffi::c_void; | |
642 | pub type UnhandledExceptionEventArgs = *mut ::core::ffi::c_void; | |
643 | pub type UnhandledExceptionEventHandler = *mut ::core::ffi::c_void; | |
644 | pub type Vector3Transition = *mut ::core::ffi::c_void; | |
04454e1e | 645 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
646 | #[repr(transparent)] |
647 | pub struct Vector3TransitionComponents(pub u32); | |
648 | impl Vector3TransitionComponents { | |
649 | pub const X: Self = Self(1u32); | |
650 | pub const Y: Self = Self(2u32); | |
651 | pub const Z: Self = Self(4u32); | |
652 | } | |
653 | impl ::core::marker::Copy for Vector3TransitionComponents {} | |
654 | impl ::core::clone::Clone for Vector3TransitionComponents { | |
655 | fn clone(&self) -> Self { | |
656 | *self | |
657 | } | |
658 | } | |
04454e1e | 659 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
660 | #[repr(transparent)] |
661 | pub struct VerticalAlignment(pub i32); | |
662 | impl VerticalAlignment { | |
663 | pub const Top: Self = Self(0i32); | |
664 | pub const Center: Self = Self(1i32); | |
665 | pub const Bottom: Self = Self(2i32); | |
666 | pub const Stretch: Self = Self(3i32); | |
667 | } | |
668 | impl ::core::marker::Copy for VerticalAlignment {} | |
669 | impl ::core::clone::Clone for VerticalAlignment { | |
670 | fn clone(&self) -> Self { | |
671 | *self | |
672 | } | |
673 | } | |
04454e1e | 674 | #[doc = "*Required features: `\"UI_Xaml\"`*"] |
5e7ed085 FG |
675 | #[repr(transparent)] |
676 | pub struct Visibility(pub i32); | |
677 | impl Visibility { | |
678 | pub const Visible: Self = Self(0i32); | |
679 | pub const Collapsed: Self = Self(1i32); | |
680 | } | |
681 | impl ::core::marker::Copy for Visibility {} | |
682 | impl ::core::clone::Clone for Visibility { | |
683 | fn clone(&self) -> Self { | |
684 | *self | |
685 | } | |
686 | } | |
687 | pub type VisualState = *mut ::core::ffi::c_void; | |
688 | pub type VisualStateChangedEventArgs = *mut ::core::ffi::c_void; | |
689 | pub type VisualStateChangedEventHandler = *mut ::core::ffi::c_void; | |
690 | pub type VisualStateGroup = *mut ::core::ffi::c_void; | |
691 | pub type VisualStateManager = *mut ::core::ffi::c_void; | |
692 | pub type VisualTransition = *mut ::core::ffi::c_void; | |
693 | pub type Window = *mut ::core::ffi::c_void; | |
694 | pub type WindowActivatedEventHandler = *mut ::core::ffi::c_void; | |
695 | pub type WindowClosedEventHandler = *mut ::core::ffi::c_void; | |
696 | pub type WindowCreatedEventArgs = *mut ::core::ffi::c_void; | |
697 | pub type WindowSizeChangedEventHandler = *mut ::core::ffi::c_void; | |
698 | pub type WindowVisibilityChangedEventHandler = *mut ::core::ffi::c_void; | |
699 | pub type XamlRoot = *mut ::core::ffi::c_void; | |
700 | pub type XamlRootChangedEventArgs = *mut ::core::ffi::c_void; |