summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/UI/Composition
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/UI/Composition
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/UI/Composition')
-rw-r--r--vendor/windows-sys/src/Windows/UI/Composition/Core/mod.rs1
-rw-r--r--vendor/windows-sys/src/Windows/UI/Composition/Desktop/mod.rs1
-rw-r--r--vendor/windows-sys/src/Windows/UI/Composition/Diagnostics/mod.rs22
-rw-r--r--vendor/windows-sys/src/Windows/UI/Composition/Effects/mod.rs14
-rw-r--r--vendor/windows-sys/src/Windows/UI/Composition/Interactions/mod.rs116
-rw-r--r--vendor/windows-sys/src/Windows/UI/Composition/Scenes/mod.rs75
-rw-r--r--vendor/windows-sys/src/Windows/UI/Composition/mod.rs445
7 files changed, 674 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/UI/Composition/Core/mod.rs b/vendor/windows-sys/src/Windows/UI/Composition/Core/mod.rs
new file mode 100644
index 000000000..37045cb86
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Composition/Core/mod.rs
@@ -0,0 +1 @@
+pub type CompositorController = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/UI/Composition/Desktop/mod.rs b/vendor/windows-sys/src/Windows/UI/Composition/Desktop/mod.rs
new file mode 100644
index 000000000..588ef4515
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Composition/Desktop/mod.rs
@@ -0,0 +1 @@
+pub type DesktopWindowTarget = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/UI/Composition/Diagnostics/mod.rs b/vendor/windows-sys/src/Windows/UI/Composition/Diagnostics/mod.rs
new file mode 100644
index 000000000..9c2baf6e5
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Composition/Diagnostics/mod.rs
@@ -0,0 +1,22 @@
+pub type CompositionDebugHeatMaps = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition_Diagnostics\"`*"]
+#[repr(transparent)]
+pub struct CompositionDebugOverdrawContentKinds(pub u32);
+impl CompositionDebugOverdrawContentKinds {
+ pub const None: Self = Self(0u32);
+ pub const OffscreenRendered: Self = Self(1u32);
+ pub const Colors: Self = Self(2u32);
+ pub const Effects: Self = Self(4u32);
+ pub const Shadows: Self = Self(8u32);
+ pub const Lights: Self = Self(16u32);
+ pub const Surfaces: Self = Self(32u32);
+ pub const SwapChains: Self = Self(64u32);
+ pub const All: Self = Self(4294967295u32);
+}
+impl ::core::marker::Copy for CompositionDebugOverdrawContentKinds {}
+impl ::core::clone::Clone for CompositionDebugOverdrawContentKinds {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CompositionDebugSettings = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/UI/Composition/Effects/mod.rs b/vendor/windows-sys/src/Windows/UI/Composition/Effects/mod.rs
new file mode 100644
index 000000000..2167f5995
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Composition/Effects/mod.rs
@@ -0,0 +1,14 @@
+pub type SceneLightingEffect = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition_Effects\"`*"]
+#[repr(transparent)]
+pub struct SceneLightingEffectReflectanceModel(pub i32);
+impl SceneLightingEffectReflectanceModel {
+ pub const BlinnPhong: Self = Self(0i32);
+ pub const PhysicallyBasedBlinnPhong: Self = Self(1i32);
+}
+impl ::core::marker::Copy for SceneLightingEffectReflectanceModel {}
+impl ::core::clone::Clone for SceneLightingEffectReflectanceModel {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/UI/Composition/Interactions/mod.rs b/vendor/windows-sys/src/Windows/UI/Composition/Interactions/mod.rs
new file mode 100644
index 000000000..31a65ee2e
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Composition/Interactions/mod.rs
@@ -0,0 +1,116 @@
+pub type CompositionConditionalValue = *mut ::core::ffi::c_void;
+pub type CompositionInteractionSourceCollection = *mut ::core::ffi::c_void;
+pub type ICompositionInteractionSource = *mut ::core::ffi::c_void;
+pub type IInteractionTrackerOwner = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition_Interactions\"`*"]
+#[repr(transparent)]
+pub struct InteractionBindingAxisModes(pub u32);
+impl InteractionBindingAxisModes {
+ pub const None: Self = Self(0u32);
+ pub const PositionX: Self = Self(1u32);
+ pub const PositionY: Self = Self(2u32);
+ pub const Scale: Self = Self(4u32);
+}
+impl ::core::marker::Copy for InteractionBindingAxisModes {}
+impl ::core::clone::Clone for InteractionBindingAxisModes {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Composition_Interactions\"`*"]
+#[repr(transparent)]
+pub struct InteractionChainingMode(pub i32);
+impl InteractionChainingMode {
+ pub const Auto: Self = Self(0i32);
+ pub const Always: Self = Self(1i32);
+ pub const Never: Self = Self(2i32);
+}
+impl ::core::marker::Copy for InteractionChainingMode {}
+impl ::core::clone::Clone for InteractionChainingMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InteractionSourceConfiguration = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition_Interactions\"`*"]
+#[repr(transparent)]
+pub struct InteractionSourceMode(pub i32);
+impl InteractionSourceMode {
+ pub const Disabled: Self = Self(0i32);
+ pub const EnabledWithInertia: Self = Self(1i32);
+ pub const EnabledWithoutInertia: Self = Self(2i32);
+}
+impl ::core::marker::Copy for InteractionSourceMode {}
+impl ::core::clone::Clone for InteractionSourceMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Composition_Interactions\"`*"]
+#[repr(transparent)]
+pub struct InteractionSourceRedirectionMode(pub i32);
+impl InteractionSourceRedirectionMode {
+ pub const Disabled: Self = Self(0i32);
+ pub const Enabled: Self = Self(1i32);
+}
+impl ::core::marker::Copy for InteractionSourceRedirectionMode {}
+impl ::core::clone::Clone for InteractionSourceRedirectionMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InteractionTracker = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition_Interactions\"`*"]
+#[repr(transparent)]
+pub struct InteractionTrackerClampingOption(pub i32);
+impl InteractionTrackerClampingOption {
+ pub const Auto: Self = Self(0i32);
+ pub const Disabled: Self = Self(1i32);
+}
+impl ::core::marker::Copy for InteractionTrackerClampingOption {}
+impl ::core::clone::Clone for InteractionTrackerClampingOption {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InteractionTrackerCustomAnimationStateEnteredArgs = *mut ::core::ffi::c_void;
+pub type InteractionTrackerIdleStateEnteredArgs = *mut ::core::ffi::c_void;
+pub type InteractionTrackerInertiaModifier = *mut ::core::ffi::c_void;
+pub type InteractionTrackerInertiaMotion = *mut ::core::ffi::c_void;
+pub type InteractionTrackerInertiaNaturalMotion = *mut ::core::ffi::c_void;
+pub type InteractionTrackerInertiaRestingValue = *mut ::core::ffi::c_void;
+pub type InteractionTrackerInertiaStateEnteredArgs = *mut ::core::ffi::c_void;
+pub type InteractionTrackerInteractingStateEnteredArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition_Interactions\"`*"]
+#[repr(transparent)]
+pub struct InteractionTrackerPositionUpdateOption(pub i32);
+impl InteractionTrackerPositionUpdateOption {
+ pub const Default: Self = Self(0i32);
+ pub const AllowActiveCustomScaleAnimation: Self = Self(1i32);
+}
+impl ::core::marker::Copy for InteractionTrackerPositionUpdateOption {}
+impl ::core::clone::Clone for InteractionTrackerPositionUpdateOption {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InteractionTrackerRequestIgnoredArgs = *mut ::core::ffi::c_void;
+pub type InteractionTrackerValuesChangedArgs = *mut ::core::ffi::c_void;
+pub type InteractionTrackerVector2InertiaModifier = *mut ::core::ffi::c_void;
+pub type InteractionTrackerVector2InertiaNaturalMotion = *mut ::core::ffi::c_void;
+pub type VisualInteractionSource = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition_Interactions\"`*"]
+#[repr(transparent)]
+pub struct VisualInteractionSourceRedirectionMode(pub i32);
+impl VisualInteractionSourceRedirectionMode {
+ pub const Off: Self = Self(0i32);
+ pub const CapableTouchpadOnly: Self = Self(1i32);
+ pub const PointerWheelOnly: Self = Self(2i32);
+ pub const CapableTouchpadAndPointerWheel: Self = Self(3i32);
+}
+impl ::core::marker::Copy for VisualInteractionSourceRedirectionMode {}
+impl ::core::clone::Clone for VisualInteractionSourceRedirectionMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/UI/Composition/Scenes/mod.rs b/vendor/windows-sys/src/Windows/UI/Composition/Scenes/mod.rs
new file mode 100644
index 000000000..bdbfe43a0
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Composition/Scenes/mod.rs
@@ -0,0 +1,75 @@
+#[doc = "*Required features: `\"UI_Composition_Scenes\"`*"]
+#[repr(transparent)]
+pub struct SceneAlphaMode(pub i32);
+impl SceneAlphaMode {
+ pub const Opaque: Self = Self(0i32);
+ pub const AlphaTest: Self = Self(1i32);
+ pub const Blend: Self = Self(2i32);
+}
+impl ::core::marker::Copy for SceneAlphaMode {}
+impl ::core::clone::Clone for SceneAlphaMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Composition_Scenes\"`*"]
+#[repr(transparent)]
+pub struct SceneAttributeSemantic(pub i32);
+impl SceneAttributeSemantic {
+ pub const Index: Self = Self(0i32);
+ pub const Vertex: Self = Self(1i32);
+ pub const Normal: Self = Self(2i32);
+ pub const TexCoord0: Self = Self(3i32);
+ pub const TexCoord1: Self = Self(4i32);
+ pub const Color: Self = Self(5i32);
+ pub const Tangent: Self = Self(6i32);
+}
+impl ::core::marker::Copy for SceneAttributeSemantic {}
+impl ::core::clone::Clone for SceneAttributeSemantic {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SceneBoundingBox = *mut ::core::ffi::c_void;
+pub type SceneComponent = *mut ::core::ffi::c_void;
+pub type SceneComponentCollection = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition_Scenes\"`*"]
+#[repr(transparent)]
+pub struct SceneComponentType(pub i32);
+impl SceneComponentType {
+ pub const MeshRendererComponent: Self = Self(0i32);
+}
+impl ::core::marker::Copy for SceneComponentType {}
+impl ::core::clone::Clone for SceneComponentType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SceneMaterial = *mut ::core::ffi::c_void;
+pub type SceneMaterialInput = *mut ::core::ffi::c_void;
+pub type SceneMesh = *mut ::core::ffi::c_void;
+pub type SceneMeshMaterialAttributeMap = *mut ::core::ffi::c_void;
+pub type SceneMeshRendererComponent = *mut ::core::ffi::c_void;
+pub type SceneMetallicRoughnessMaterial = *mut ::core::ffi::c_void;
+pub type SceneModelTransform = *mut ::core::ffi::c_void;
+pub type SceneNode = *mut ::core::ffi::c_void;
+pub type SceneNodeCollection = *mut ::core::ffi::c_void;
+pub type SceneObject = *mut ::core::ffi::c_void;
+pub type ScenePbrMaterial = *mut ::core::ffi::c_void;
+pub type SceneRendererComponent = *mut ::core::ffi::c_void;
+pub type SceneSurfaceMaterialInput = *mut ::core::ffi::c_void;
+pub type SceneVisual = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition_Scenes\"`*"]
+#[repr(transparent)]
+pub struct SceneWrappingMode(pub i32);
+impl SceneWrappingMode {
+ pub const ClampToEdge: Self = Self(0i32);
+ pub const MirroredRepeat: Self = Self(1i32);
+ pub const Repeat: Self = Self(2i32);
+}
+impl ::core::marker::Copy for SceneWrappingMode {}
+impl ::core::clone::Clone for SceneWrappingMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/UI/Composition/mod.rs b/vendor/windows-sys/src/Windows/UI/Composition/mod.rs
new file mode 100644
index 000000000..c5a0bd54b
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Composition/mod.rs
@@ -0,0 +1,445 @@
+#[cfg(feature = "UI_Composition_Core")]
+pub mod Core;
+#[cfg(feature = "UI_Composition_Desktop")]
+pub mod Desktop;
+#[cfg(feature = "UI_Composition_Diagnostics")]
+pub mod Diagnostics;
+#[cfg(feature = "UI_Composition_Effects")]
+pub mod Effects;
+#[cfg(feature = "UI_Composition_Interactions")]
+pub mod Interactions;
+#[cfg(feature = "UI_Composition_Scenes")]
+pub mod Scenes;
+pub type AmbientLight = *mut ::core::ffi::c_void;
+pub type AnimationController = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct AnimationControllerProgressBehavior(pub i32);
+impl AnimationControllerProgressBehavior {
+ pub const Default: Self = Self(0i32);
+ pub const IncludesDelayTime: Self = Self(1i32);
+}
+impl ::core::marker::Copy for AnimationControllerProgressBehavior {}
+impl ::core::clone::Clone for AnimationControllerProgressBehavior {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct AnimationDelayBehavior(pub i32);
+impl AnimationDelayBehavior {
+ pub const SetInitialValueAfterDelay: Self = Self(0i32);
+ pub const SetInitialValueBeforeDelay: Self = Self(1i32);
+}
+impl ::core::marker::Copy for AnimationDelayBehavior {}
+impl ::core::clone::Clone for AnimationDelayBehavior {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct AnimationDirection(pub i32);
+impl AnimationDirection {
+ pub const Normal: Self = Self(0i32);
+ pub const Reverse: Self = Self(1i32);
+ pub const Alternate: Self = Self(2i32);
+ pub const AlternateReverse: Self = Self(3i32);
+}
+impl ::core::marker::Copy for AnimationDirection {}
+impl ::core::clone::Clone for AnimationDirection {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct AnimationIterationBehavior(pub i32);
+impl AnimationIterationBehavior {
+ pub const Count: Self = Self(0i32);
+ pub const Forever: Self = Self(1i32);
+}
+impl ::core::marker::Copy for AnimationIterationBehavior {}
+impl ::core::clone::Clone for AnimationIterationBehavior {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct AnimationPropertyAccessMode(pub i32);
+impl AnimationPropertyAccessMode {
+ pub const None: Self = Self(0i32);
+ pub const ReadOnly: Self = Self(1i32);
+ pub const WriteOnly: Self = Self(2i32);
+ pub const ReadWrite: Self = Self(3i32);
+}
+impl ::core::marker::Copy for AnimationPropertyAccessMode {}
+impl ::core::clone::Clone for AnimationPropertyAccessMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type AnimationPropertyInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct AnimationStopBehavior(pub i32);
+impl AnimationStopBehavior {
+ pub const LeaveCurrentValue: Self = Self(0i32);
+ pub const SetToInitialValue: Self = Self(1i32);
+ pub const SetToFinalValue: Self = Self(2i32);
+}
+impl ::core::marker::Copy for AnimationStopBehavior {}
+impl ::core::clone::Clone for AnimationStopBehavior {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type BackEasingFunction = *mut ::core::ffi::c_void;
+pub type BooleanKeyFrameAnimation = *mut ::core::ffi::c_void;
+pub type BounceEasingFunction = *mut ::core::ffi::c_void;
+pub type BounceScalarNaturalMotionAnimation = *mut ::core::ffi::c_void;
+pub type BounceVector2NaturalMotionAnimation = *mut ::core::ffi::c_void;
+pub type BounceVector3NaturalMotionAnimation = *mut ::core::ffi::c_void;
+pub type CircleEasingFunction = *mut ::core::ffi::c_void;
+pub type ColorKeyFrameAnimation = *mut ::core::ffi::c_void;
+pub type CompositionAnimation = *mut ::core::ffi::c_void;
+pub type CompositionAnimationGroup = *mut ::core::ffi::c_void;
+pub type CompositionBackdropBrush = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionBackfaceVisibility(pub i32);
+impl CompositionBackfaceVisibility {
+ pub const Inherit: Self = Self(0i32);
+ pub const Visible: Self = Self(1i32);
+ pub const Hidden: Self = Self(2i32);
+}
+impl ::core::marker::Copy for CompositionBackfaceVisibility {}
+impl ::core::clone::Clone for CompositionBackfaceVisibility {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CompositionBatchCompletedEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionBatchTypes(pub u32);
+impl CompositionBatchTypes {
+ pub const None: Self = Self(0u32);
+ pub const Animation: Self = Self(1u32);
+ pub const Effect: Self = Self(2u32);
+ pub const InfiniteAnimation: Self = Self(4u32);
+ pub const AllAnimations: Self = Self(5u32);
+}
+impl ::core::marker::Copy for CompositionBatchTypes {}
+impl ::core::clone::Clone for CompositionBatchTypes {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionBitmapInterpolationMode(pub i32);
+impl CompositionBitmapInterpolationMode {
+ pub const NearestNeighbor: Self = Self(0i32);
+ pub const Linear: Self = Self(1i32);
+ pub const MagLinearMinLinearMipLinear: Self = Self(2i32);
+ pub const MagLinearMinLinearMipNearest: Self = Self(3i32);
+ pub const MagLinearMinNearestMipLinear: Self = Self(4i32);
+ pub const MagLinearMinNearestMipNearest: Self = Self(5i32);
+ pub const MagNearestMinLinearMipLinear: Self = Self(6i32);
+ pub const MagNearestMinLinearMipNearest: Self = Self(7i32);
+ pub const MagNearestMinNearestMipLinear: Self = Self(8i32);
+ pub const MagNearestMinNearestMipNearest: Self = Self(9i32);
+}
+impl ::core::marker::Copy for CompositionBitmapInterpolationMode {}
+impl ::core::clone::Clone for CompositionBitmapInterpolationMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionBorderMode(pub i32);
+impl CompositionBorderMode {
+ pub const Inherit: Self = Self(0i32);
+ pub const Soft: Self = Self(1i32);
+ pub const Hard: Self = Self(2i32);
+}
+impl ::core::marker::Copy for CompositionBorderMode {}
+impl ::core::clone::Clone for CompositionBorderMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CompositionBrush = *mut ::core::ffi::c_void;
+pub type CompositionCapabilities = *mut ::core::ffi::c_void;
+pub type CompositionClip = *mut ::core::ffi::c_void;
+pub type CompositionColorBrush = *mut ::core::ffi::c_void;
+pub type CompositionColorGradientStop = *mut ::core::ffi::c_void;
+pub type CompositionColorGradientStopCollection = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionColorSpace(pub i32);
+impl CompositionColorSpace {
+ pub const Auto: Self = Self(0i32);
+ pub const Hsl: Self = Self(1i32);
+ pub const Rgb: Self = Self(2i32);
+ pub const HslLinear: Self = Self(3i32);
+ pub const RgbLinear: Self = Self(4i32);
+}
+impl ::core::marker::Copy for CompositionColorSpace {}
+impl ::core::clone::Clone for CompositionColorSpace {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CompositionCommitBatch = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionCompositeMode(pub i32);
+impl CompositionCompositeMode {
+ pub const Inherit: Self = Self(0i32);
+ pub const SourceOver: Self = Self(1i32);
+ pub const DestinationInvert: Self = Self(2i32);
+ pub const MinBlend: Self = Self(3i32);
+}
+impl ::core::marker::Copy for CompositionCompositeMode {}
+impl ::core::clone::Clone for CompositionCompositeMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CompositionContainerShape = *mut ::core::ffi::c_void;
+pub type CompositionDrawingSurface = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionDropShadowSourcePolicy(pub i32);
+impl CompositionDropShadowSourcePolicy {
+ pub const Default: Self = Self(0i32);
+ pub const InheritFromVisualContent: Self = Self(1i32);
+}
+impl ::core::marker::Copy for CompositionDropShadowSourcePolicy {}
+impl ::core::clone::Clone for CompositionDropShadowSourcePolicy {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CompositionEasingFunction = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionEasingFunctionMode(pub i32);
+impl CompositionEasingFunctionMode {
+ pub const In: Self = Self(0i32);
+ pub const Out: Self = Self(1i32);
+ pub const InOut: Self = Self(2i32);
+}
+impl ::core::marker::Copy for CompositionEasingFunctionMode {}
+impl ::core::clone::Clone for CompositionEasingFunctionMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CompositionEffectBrush = *mut ::core::ffi::c_void;
+pub type CompositionEffectFactory = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionEffectFactoryLoadStatus(pub i32);
+impl CompositionEffectFactoryLoadStatus {
+ pub const Success: Self = Self(0i32);
+ pub const EffectTooComplex: Self = Self(1i32);
+ pub const Pending: Self = Self(2i32);
+ pub const Other: Self = Self(-1i32);
+}
+impl ::core::marker::Copy for CompositionEffectFactoryLoadStatus {}
+impl ::core::clone::Clone for CompositionEffectFactoryLoadStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CompositionEffectSourceParameter = *mut ::core::ffi::c_void;
+pub type CompositionEllipseGeometry = *mut ::core::ffi::c_void;
+pub type CompositionGeometricClip = *mut ::core::ffi::c_void;
+pub type CompositionGeometry = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionGetValueStatus(pub i32);
+impl CompositionGetValueStatus {
+ pub const Succeeded: Self = Self(0i32);
+ pub const TypeMismatch: Self = Self(1i32);
+ pub const NotFound: Self = Self(2i32);
+}
+impl ::core::marker::Copy for CompositionGetValueStatus {}
+impl ::core::clone::Clone for CompositionGetValueStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CompositionGradientBrush = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionGradientExtendMode(pub i32);
+impl CompositionGradientExtendMode {
+ pub const Clamp: Self = Self(0i32);
+ pub const Wrap: Self = Self(1i32);
+ pub const Mirror: Self = Self(2i32);
+}
+impl ::core::marker::Copy for CompositionGradientExtendMode {}
+impl ::core::clone::Clone for CompositionGradientExtendMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CompositionGraphicsDevice = *mut ::core::ffi::c_void;
+pub type CompositionLight = *mut ::core::ffi::c_void;
+pub type CompositionLineGeometry = *mut ::core::ffi::c_void;
+pub type CompositionLinearGradientBrush = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionMappingMode(pub i32);
+impl CompositionMappingMode {
+ pub const Absolute: Self = Self(0i32);
+ pub const Relative: Self = Self(1i32);
+}
+impl ::core::marker::Copy for CompositionMappingMode {}
+impl ::core::clone::Clone for CompositionMappingMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CompositionMaskBrush = *mut ::core::ffi::c_void;
+pub type CompositionMipmapSurface = *mut ::core::ffi::c_void;
+pub type CompositionNineGridBrush = *mut ::core::ffi::c_void;
+pub type CompositionObject = *mut ::core::ffi::c_void;
+pub type CompositionPath = *mut ::core::ffi::c_void;
+pub type CompositionPathGeometry = *mut ::core::ffi::c_void;
+pub type CompositionProjectedShadow = *mut ::core::ffi::c_void;
+pub type CompositionProjectedShadowCaster = *mut ::core::ffi::c_void;
+pub type CompositionProjectedShadowCasterCollection = *mut ::core::ffi::c_void;
+pub type CompositionProjectedShadowReceiver = *mut ::core::ffi::c_void;
+pub type CompositionProjectedShadowReceiverUnorderedCollection = *mut ::core::ffi::c_void;
+pub type CompositionPropertySet = *mut ::core::ffi::c_void;
+pub type CompositionRadialGradientBrush = *mut ::core::ffi::c_void;
+pub type CompositionRectangleGeometry = *mut ::core::ffi::c_void;
+pub type CompositionRoundedRectangleGeometry = *mut ::core::ffi::c_void;
+pub type CompositionScopedBatch = *mut ::core::ffi::c_void;
+pub type CompositionShadow = *mut ::core::ffi::c_void;
+pub type CompositionShape = *mut ::core::ffi::c_void;
+pub type CompositionShapeCollection = *mut ::core::ffi::c_void;
+pub type CompositionSpriteShape = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionStretch(pub i32);
+impl CompositionStretch {
+ pub const None: Self = Self(0i32);
+ pub const Fill: Self = Self(1i32);
+ pub const Uniform: Self = Self(2i32);
+ pub const UniformToFill: Self = Self(3i32);
+}
+impl ::core::marker::Copy for CompositionStretch {}
+impl ::core::clone::Clone for CompositionStretch {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionStrokeCap(pub i32);
+impl CompositionStrokeCap {
+ pub const Flat: Self = Self(0i32);
+ pub const Square: Self = Self(1i32);
+ pub const Round: Self = Self(2i32);
+ pub const Triangle: Self = Self(3i32);
+}
+impl ::core::marker::Copy for CompositionStrokeCap {}
+impl ::core::clone::Clone for CompositionStrokeCap {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CompositionStrokeDashArray = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Composition\"`*"]
+#[repr(transparent)]
+pub struct CompositionStrokeLineJoin(pub i32);
+impl CompositionStrokeLineJoin {
+ pub const Miter: Self = Self(0i32);
+ pub const Bevel: Self = Self(1i32);
+ pub const Round: Self = Self(2i32);
+ pub const MiterOrBevel: Self = Self(3i32);
+}
+impl ::core::marker::Copy for CompositionStrokeLineJoin {}
+impl ::core::clone::Clone for CompositionStrokeLineJoin {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CompositionSurfaceBrush = *mut ::core::ffi::c_void;
+pub type CompositionTarget = *mut ::core::ffi::c_void;
+pub type CompositionTransform = *mut ::core::ffi::c_void;
+pub type CompositionViewBox = *mut ::core::ffi::c_void;
+pub type CompositionVirtualDrawingSurface = *mut ::core::ffi::c_void;
+pub type CompositionVisualSurface = *mut ::core::ffi::c_void;
+pub type Compositor = *mut ::core::ffi::c_void;
+pub type ContainerVisual = *mut ::core::ffi::c_void;
+pub type CubicBezierEasingFunction = *mut ::core::ffi::c_void;
+pub type DelegatedInkTrailVisual = *mut ::core::ffi::c_void;
+pub type DistantLight = *mut ::core::ffi::c_void;
+pub type DropShadow = *mut ::core::ffi::c_void;
+pub type ElasticEasingFunction = *mut ::core::ffi::c_void;
+pub type ExponentialEasingFunction = *mut ::core::ffi::c_void;
+pub type ExpressionAnimation = *mut ::core::ffi::c_void;
+pub type IAnimationObject = *mut ::core::ffi::c_void;
+pub type ICompositionAnimationBase = *mut ::core::ffi::c_void;
+pub type ICompositionSupportsSystemBackdrop = *mut ::core::ffi::c_void;
+pub type ICompositionSurface = *mut ::core::ffi::c_void;
+pub type ICompositionSurfaceFacade = *mut ::core::ffi::c_void;
+pub type IVisualElement = *mut ::core::ffi::c_void;
+pub type IVisualElement2 = *mut ::core::ffi::c_void;
+pub type ImplicitAnimationCollection = *mut ::core::ffi::c_void;
+pub type InitialValueExpressionCollection = *mut ::core::ffi::c_void;
+#[repr(C)]
+#[doc = "*Required features: `\"UI_Composition\"`, `\"Foundation\"`*"]
+#[cfg(feature = "Foundation")]
+pub struct InkTrailPoint {
+ pub Point: super::super::Foundation::Point,
+ pub Radius: f32,
+}
+#[cfg(feature = "Foundation")]
+impl ::core::marker::Copy for InkTrailPoint {}
+#[cfg(feature = "Foundation")]
+impl ::core::clone::Clone for InkTrailPoint {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InsetClip = *mut ::core::ffi::c_void;
+pub type KeyFrameAnimation = *mut ::core::ffi::c_void;
+pub type LayerVisual = *mut ::core::ffi::c_void;
+pub type LinearEasingFunction = *mut ::core::ffi::c_void;
+pub type NaturalMotionAnimation = *mut ::core::ffi::c_void;
+pub type PathKeyFrameAnimation = *mut ::core::ffi::c_void;
+pub type PointLight = *mut ::core::ffi::c_void;
+pub type PowerEasingFunction = *mut ::core::ffi::c_void;
+pub type QuaternionKeyFrameAnimation = *mut ::core::ffi::c_void;
+pub type RectangleClip = *mut ::core::ffi::c_void;
+pub type RedirectVisual = *mut ::core::ffi::c_void;
+pub type RenderingDeviceReplacedEventArgs = *mut ::core::ffi::c_void;
+pub type ScalarKeyFrameAnimation = *mut ::core::ffi::c_void;
+pub type ScalarNaturalMotionAnimation = *mut ::core::ffi::c_void;
+pub type ShapeVisual = *mut ::core::ffi::c_void;
+pub type SineEasingFunction = *mut ::core::ffi::c_void;
+pub type SpotLight = *mut ::core::ffi::c_void;
+pub type SpringScalarNaturalMotionAnimation = *mut ::core::ffi::c_void;
+pub type SpringVector2NaturalMotionAnimation = *mut ::core::ffi::c_void;
+pub type SpringVector3NaturalMotionAnimation = *mut ::core::ffi::c_void;
+pub type SpriteVisual = *mut ::core::ffi::c_void;
+pub type StepEasingFunction = *mut ::core::ffi::c_void;
+pub type Vector2KeyFrameAnimation = *mut ::core::ffi::c_void;
+pub type Vector2NaturalMotionAnimation = *mut ::core::ffi::c_void;
+pub type Vector3KeyFrameAnimation = *mut ::core::ffi::c_void;
+pub type Vector3NaturalMotionAnimation = *mut ::core::ffi::c_void;
+pub type Vector4KeyFrameAnimation = *mut ::core::ffi::c_void;
+pub type Visual = *mut ::core::ffi::c_void;
+pub type VisualCollection = *mut ::core::ffi::c_void;
+pub type VisualUnorderedCollection = *mut ::core::ffi::c_void;