]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | pub type CompositionConditionalValue = *mut ::core::ffi::c_void; |
2 | pub type CompositionInteractionSourceCollection = *mut ::core::ffi::c_void; | |
3 | pub type ICompositionInteractionSource = *mut ::core::ffi::c_void; | |
4 | pub type IInteractionTrackerOwner = *mut ::core::ffi::c_void; | |
04454e1e | 5 | #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] |
5e7ed085 FG |
6 | #[repr(transparent)] |
7 | pub struct InteractionBindingAxisModes(pub u32); | |
8 | impl InteractionBindingAxisModes { | |
9 | pub const None: Self = Self(0u32); | |
10 | pub const PositionX: Self = Self(1u32); | |
11 | pub const PositionY: Self = Self(2u32); | |
12 | pub const Scale: Self = Self(4u32); | |
13 | } | |
14 | impl ::core::marker::Copy for InteractionBindingAxisModes {} | |
15 | impl ::core::clone::Clone for InteractionBindingAxisModes { | |
16 | fn clone(&self) -> Self { | |
17 | *self | |
18 | } | |
19 | } | |
04454e1e | 20 | #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] |
5e7ed085 FG |
21 | #[repr(transparent)] |
22 | pub struct InteractionChainingMode(pub i32); | |
23 | impl InteractionChainingMode { | |
24 | pub const Auto: Self = Self(0i32); | |
25 | pub const Always: Self = Self(1i32); | |
26 | pub const Never: Self = Self(2i32); | |
27 | } | |
28 | impl ::core::marker::Copy for InteractionChainingMode {} | |
29 | impl ::core::clone::Clone for InteractionChainingMode { | |
30 | fn clone(&self) -> Self { | |
31 | *self | |
32 | } | |
33 | } | |
34 | pub type InteractionSourceConfiguration = *mut ::core::ffi::c_void; | |
04454e1e | 35 | #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] |
5e7ed085 FG |
36 | #[repr(transparent)] |
37 | pub struct InteractionSourceMode(pub i32); | |
38 | impl InteractionSourceMode { | |
39 | pub const Disabled: Self = Self(0i32); | |
40 | pub const EnabledWithInertia: Self = Self(1i32); | |
41 | pub const EnabledWithoutInertia: Self = Self(2i32); | |
42 | } | |
43 | impl ::core::marker::Copy for InteractionSourceMode {} | |
44 | impl ::core::clone::Clone for InteractionSourceMode { | |
45 | fn clone(&self) -> Self { | |
46 | *self | |
47 | } | |
48 | } | |
04454e1e | 49 | #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] |
5e7ed085 FG |
50 | #[repr(transparent)] |
51 | pub struct InteractionSourceRedirectionMode(pub i32); | |
52 | impl InteractionSourceRedirectionMode { | |
53 | pub const Disabled: Self = Self(0i32); | |
54 | pub const Enabled: Self = Self(1i32); | |
55 | } | |
56 | impl ::core::marker::Copy for InteractionSourceRedirectionMode {} | |
57 | impl ::core::clone::Clone for InteractionSourceRedirectionMode { | |
58 | fn clone(&self) -> Self { | |
59 | *self | |
60 | } | |
61 | } | |
62 | pub type InteractionTracker = *mut ::core::ffi::c_void; | |
04454e1e | 63 | #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] |
5e7ed085 FG |
64 | #[repr(transparent)] |
65 | pub struct InteractionTrackerClampingOption(pub i32); | |
66 | impl InteractionTrackerClampingOption { | |
67 | pub const Auto: Self = Self(0i32); | |
68 | pub const Disabled: Self = Self(1i32); | |
69 | } | |
70 | impl ::core::marker::Copy for InteractionTrackerClampingOption {} | |
71 | impl ::core::clone::Clone for InteractionTrackerClampingOption { | |
72 | fn clone(&self) -> Self { | |
73 | *self | |
74 | } | |
75 | } | |
76 | pub type InteractionTrackerCustomAnimationStateEnteredArgs = *mut ::core::ffi::c_void; | |
77 | pub type InteractionTrackerIdleStateEnteredArgs = *mut ::core::ffi::c_void; | |
78 | pub type InteractionTrackerInertiaModifier = *mut ::core::ffi::c_void; | |
79 | pub type InteractionTrackerInertiaMotion = *mut ::core::ffi::c_void; | |
80 | pub type InteractionTrackerInertiaNaturalMotion = *mut ::core::ffi::c_void; | |
81 | pub type InteractionTrackerInertiaRestingValue = *mut ::core::ffi::c_void; | |
82 | pub type InteractionTrackerInertiaStateEnteredArgs = *mut ::core::ffi::c_void; | |
83 | pub type InteractionTrackerInteractingStateEnteredArgs = *mut ::core::ffi::c_void; | |
04454e1e | 84 | #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] |
5e7ed085 FG |
85 | #[repr(transparent)] |
86 | pub struct InteractionTrackerPositionUpdateOption(pub i32); | |
87 | impl InteractionTrackerPositionUpdateOption { | |
88 | pub const Default: Self = Self(0i32); | |
89 | pub const AllowActiveCustomScaleAnimation: Self = Self(1i32); | |
90 | } | |
91 | impl ::core::marker::Copy for InteractionTrackerPositionUpdateOption {} | |
92 | impl ::core::clone::Clone for InteractionTrackerPositionUpdateOption { | |
93 | fn clone(&self) -> Self { | |
94 | *self | |
95 | } | |
96 | } | |
97 | pub type InteractionTrackerRequestIgnoredArgs = *mut ::core::ffi::c_void; | |
98 | pub type InteractionTrackerValuesChangedArgs = *mut ::core::ffi::c_void; | |
99 | pub type InteractionTrackerVector2InertiaModifier = *mut ::core::ffi::c_void; | |
100 | pub type InteractionTrackerVector2InertiaNaturalMotion = *mut ::core::ffi::c_void; | |
101 | pub type VisualInteractionSource = *mut ::core::ffi::c_void; | |
04454e1e | 102 | #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] |
5e7ed085 FG |
103 | #[repr(transparent)] |
104 | pub struct VisualInteractionSourceRedirectionMode(pub i32); | |
105 | impl VisualInteractionSourceRedirectionMode { | |
106 | pub const Off: Self = Self(0i32); | |
107 | pub const CapableTouchpadOnly: Self = Self(1i32); | |
108 | pub const PointerWheelOnly: Self = Self(2i32); | |
109 | pub const CapableTouchpadAndPointerWheel: Self = Self(3i32); | |
110 | } | |
111 | impl ::core::marker::Copy for VisualInteractionSourceRedirectionMode {} | |
112 | impl ::core::clone::Clone for VisualInteractionSourceRedirectionMode { | |
113 | fn clone(&self) -> Self { | |
114 | *self | |
115 | } | |
116 | } |