]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/UI/Composition/Interactions/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / UI / Composition / Interactions / mod.rs
CommitLineData
5e7ed085
FG
1pub type CompositionConditionalValue = *mut ::core::ffi::c_void;
2pub type CompositionInteractionSourceCollection = *mut ::core::ffi::c_void;
3pub type ICompositionInteractionSource = *mut ::core::ffi::c_void;
4pub type IInteractionTrackerOwner = *mut ::core::ffi::c_void;
04454e1e 5#[doc = "*Required features: `\"UI_Composition_Interactions\"`*"]
5e7ed085
FG
6#[repr(transparent)]
7pub struct InteractionBindingAxisModes(pub u32);
8impl 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}
14impl ::core::marker::Copy for InteractionBindingAxisModes {}
15impl ::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)]
22pub struct InteractionChainingMode(pub i32);
23impl InteractionChainingMode {
24 pub const Auto: Self = Self(0i32);
25 pub const Always: Self = Self(1i32);
26 pub const Never: Self = Self(2i32);
27}
28impl ::core::marker::Copy for InteractionChainingMode {}
29impl ::core::clone::Clone for InteractionChainingMode {
30 fn clone(&self) -> Self {
31 *self
32 }
33}
34pub type InteractionSourceConfiguration = *mut ::core::ffi::c_void;
04454e1e 35#[doc = "*Required features: `\"UI_Composition_Interactions\"`*"]
5e7ed085
FG
36#[repr(transparent)]
37pub struct InteractionSourceMode(pub i32);
38impl InteractionSourceMode {
39 pub const Disabled: Self = Self(0i32);
40 pub const EnabledWithInertia: Self = Self(1i32);
41 pub const EnabledWithoutInertia: Self = Self(2i32);
42}
43impl ::core::marker::Copy for InteractionSourceMode {}
44impl ::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)]
51pub struct InteractionSourceRedirectionMode(pub i32);
52impl InteractionSourceRedirectionMode {
53 pub const Disabled: Self = Self(0i32);
54 pub const Enabled: Self = Self(1i32);
55}
56impl ::core::marker::Copy for InteractionSourceRedirectionMode {}
57impl ::core::clone::Clone for InteractionSourceRedirectionMode {
58 fn clone(&self) -> Self {
59 *self
60 }
61}
62pub type InteractionTracker = *mut ::core::ffi::c_void;
04454e1e 63#[doc = "*Required features: `\"UI_Composition_Interactions\"`*"]
5e7ed085
FG
64#[repr(transparent)]
65pub struct InteractionTrackerClampingOption(pub i32);
66impl InteractionTrackerClampingOption {
67 pub const Auto: Self = Self(0i32);
68 pub const Disabled: Self = Self(1i32);
69}
70impl ::core::marker::Copy for InteractionTrackerClampingOption {}
71impl ::core::clone::Clone for InteractionTrackerClampingOption {
72 fn clone(&self) -> Self {
73 *self
74 }
75}
76pub type InteractionTrackerCustomAnimationStateEnteredArgs = *mut ::core::ffi::c_void;
77pub type InteractionTrackerIdleStateEnteredArgs = *mut ::core::ffi::c_void;
78pub type InteractionTrackerInertiaModifier = *mut ::core::ffi::c_void;
79pub type InteractionTrackerInertiaMotion = *mut ::core::ffi::c_void;
80pub type InteractionTrackerInertiaNaturalMotion = *mut ::core::ffi::c_void;
81pub type InteractionTrackerInertiaRestingValue = *mut ::core::ffi::c_void;
82pub type InteractionTrackerInertiaStateEnteredArgs = *mut ::core::ffi::c_void;
83pub type InteractionTrackerInteractingStateEnteredArgs = *mut ::core::ffi::c_void;
04454e1e 84#[doc = "*Required features: `\"UI_Composition_Interactions\"`*"]
5e7ed085
FG
85#[repr(transparent)]
86pub struct InteractionTrackerPositionUpdateOption(pub i32);
87impl InteractionTrackerPositionUpdateOption {
88 pub const Default: Self = Self(0i32);
89 pub const AllowActiveCustomScaleAnimation: Self = Self(1i32);
90}
91impl ::core::marker::Copy for InteractionTrackerPositionUpdateOption {}
92impl ::core::clone::Clone for InteractionTrackerPositionUpdateOption {
93 fn clone(&self) -> Self {
94 *self
95 }
96}
97pub type InteractionTrackerRequestIgnoredArgs = *mut ::core::ffi::c_void;
98pub type InteractionTrackerValuesChangedArgs = *mut ::core::ffi::c_void;
99pub type InteractionTrackerVector2InertiaModifier = *mut ::core::ffi::c_void;
100pub type InteractionTrackerVector2InertiaNaturalMotion = *mut ::core::ffi::c_void;
101pub type VisualInteractionSource = *mut ::core::ffi::c_void;
04454e1e 102#[doc = "*Required features: `\"UI_Composition_Interactions\"`*"]
5e7ed085
FG
103#[repr(transparent)]
104pub struct VisualInteractionSourceRedirectionMode(pub i32);
105impl 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}
111impl ::core::marker::Copy for VisualInteractionSourceRedirectionMode {}
112impl ::core::clone::Clone for VisualInteractionSourceRedirectionMode {
113 fn clone(&self) -> Self {
114 *self
115 }
116}