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