From 5363f350887b1e5b5dd21a86f88c8af9d7fea6da Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:25 +0200 Subject: Merging upstream version 1.67.1+dfsg1. Signed-off-by: Daniel Baumann --- .../src/Windows/Perception/Automation/Core/mod.rs | 3 - .../src/Windows/Perception/Automation/mod.rs | 3 - .../src/Windows/Perception/People/mod.rs | 86 ---------- .../src/Windows/Perception/Spatial/Preview/mod.rs | 4 - .../src/Windows/Perception/Spatial/Surfaces/mod.rs | 8 - .../src/Windows/Perception/Spatial/mod.rs | 182 --------------------- .../src/Windows/Perception/mod.rs | 10 -- 7 files changed, 296 deletions(-) delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Perception/Automation/Core/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Perception/Automation/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Perception/People/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Perception/Spatial/Preview/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Perception/Spatial/Surfaces/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Perception/Spatial/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Perception/mod.rs (limited to 'vendor/windows-sys-0.28.0/src/Windows/Perception') diff --git a/vendor/windows-sys-0.28.0/src/Windows/Perception/Automation/Core/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Perception/Automation/Core/mod.rs deleted file mode 100644 index c80aa7b7a..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Perception/Automation/Core/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Perception/Automation/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Perception/Automation/mod.rs deleted file mode 100644 index e697ffcbe..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Perception/Automation/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Perception_Automation_Core")] -pub mod Core; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Perception/People/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Perception/People/mod.rs deleted file mode 100644 index 1a1ecdea2..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Perception/People/mod.rs +++ /dev/null @@ -1,86 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type EyesPose = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct HandJointKind(pub i32); -impl HandJointKind { - pub const Palm: Self = Self(0i32); - pub const Wrist: Self = Self(1i32); - pub const ThumbMetacarpal: Self = Self(2i32); - pub const ThumbProximal: Self = Self(3i32); - pub const ThumbDistal: Self = Self(4i32); - pub const ThumbTip: Self = Self(5i32); - pub const IndexMetacarpal: Self = Self(6i32); - pub const IndexProximal: Self = Self(7i32); - pub const IndexIntermediate: Self = Self(8i32); - pub const IndexDistal: Self = Self(9i32); - pub const IndexTip: Self = Self(10i32); - pub const MiddleMetacarpal: Self = Self(11i32); - pub const MiddleProximal: Self = Self(12i32); - pub const MiddleIntermediate: Self = Self(13i32); - pub const MiddleDistal: Self = Self(14i32); - pub const MiddleTip: Self = Self(15i32); - pub const RingMetacarpal: Self = Self(16i32); - pub const RingProximal: Self = Self(17i32); - pub const RingIntermediate: Self = Self(18i32); - pub const RingDistal: Self = Self(19i32); - pub const RingTip: Self = Self(20i32); - pub const LittleMetacarpal: Self = Self(21i32); - pub const LittleProximal: Self = Self(22i32); - pub const LittleIntermediate: Self = Self(23i32); - pub const LittleDistal: Self = Self(24i32); - pub const LittleTip: Self = Self(25i32); -} -impl ::core::marker::Copy for HandJointKind {} -impl ::core::clone::Clone for HandJointKind { - fn clone(&self) -> Self { - *self - } -} -pub type HandMeshObserver = *mut ::core::ffi::c_void; -#[repr(C)] -#[cfg(feature = "Foundation_Numerics")] -pub struct HandMeshVertex { - pub Position: super::super::Foundation::Numerics::Vector3, - pub Normal: super::super::Foundation::Numerics::Vector3, -} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::marker::Copy for HandMeshVertex {} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::clone::Clone for HandMeshVertex { - fn clone(&self) -> Self { - *self - } -} -pub type HandMeshVertexState = *mut ::core::ffi::c_void; -pub type HandPose = *mut ::core::ffi::c_void; -pub type HeadPose = *mut ::core::ffi::c_void; -#[repr(C)] -#[cfg(feature = "Foundation_Numerics")] -pub struct JointPose { - pub Orientation: super::super::Foundation::Numerics::Quaternion, - pub Position: super::super::Foundation::Numerics::Vector3, - pub Radius: f32, - pub Accuracy: JointPoseAccuracy, -} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::marker::Copy for JointPose {} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::clone::Clone for JointPose { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct JointPoseAccuracy(pub i32); -impl JointPoseAccuracy { - pub const High: Self = Self(0i32); - pub const Approximate: Self = Self(1i32); -} -impl ::core::marker::Copy for JointPoseAccuracy {} -impl ::core::clone::Clone for JointPoseAccuracy { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Perception/Spatial/Preview/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Perception/Spatial/Preview/mod.rs deleted file mode 100644 index 5c5d878a8..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Perception/Spatial/Preview/mod.rs +++ /dev/null @@ -1,4 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type SpatialGraphInteropFrameOfReferencePreview = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Perception/Spatial/Surfaces/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Perception/Spatial/Surfaces/mod.rs deleted file mode 100644 index 973f24d77..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Perception/Spatial/Surfaces/mod.rs +++ /dev/null @@ -1,8 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type SpatialSurfaceInfo = *mut ::core::ffi::c_void; -pub type SpatialSurfaceMesh = *mut ::core::ffi::c_void; -pub type SpatialSurfaceMeshBuffer = *mut ::core::ffi::c_void; -pub type SpatialSurfaceMeshOptions = *mut ::core::ffi::c_void; -pub type SpatialSurfaceObserver = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Perception/Spatial/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Perception/Spatial/mod.rs deleted file mode 100644 index 3f5bdcd30..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Perception/Spatial/mod.rs +++ /dev/null @@ -1,182 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Perception_Spatial_Preview")] -pub mod Preview; -#[cfg(feature = "Perception_Spatial_Surfaces")] -pub mod Surfaces; -#[link(name = "windows")] -extern "system" {} -pub type SpatialAnchor = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct SpatialAnchorExportPurpose(pub i32); -impl SpatialAnchorExportPurpose { - pub const Relocalization: Self = Self(0i32); - pub const Sharing: Self = Self(1i32); -} -impl ::core::marker::Copy for SpatialAnchorExportPurpose {} -impl ::core::clone::Clone for SpatialAnchorExportPurpose { - fn clone(&self) -> Self { - *self - } -} -pub type SpatialAnchorExportSufficiency = *mut ::core::ffi::c_void; -pub type SpatialAnchorExporter = *mut ::core::ffi::c_void; -pub type SpatialAnchorRawCoordinateSystemAdjustedEventArgs = *mut ::core::ffi::c_void; -pub type SpatialAnchorStore = *mut ::core::ffi::c_void; -#[repr(C)] -#[cfg(feature = "Foundation_Numerics")] -pub struct SpatialBoundingBox { - pub Center: super::super::Foundation::Numerics::Vector3, - pub Extents: super::super::Foundation::Numerics::Vector3, -} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::marker::Copy for SpatialBoundingBox {} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::clone::Clone for SpatialBoundingBox { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(feature = "Foundation_Numerics")] -pub struct SpatialBoundingFrustum { - pub Near: super::super::Foundation::Numerics::Plane, - pub Far: super::super::Foundation::Numerics::Plane, - pub Right: super::super::Foundation::Numerics::Plane, - pub Left: super::super::Foundation::Numerics::Plane, - pub Top: super::super::Foundation::Numerics::Plane, - pub Bottom: super::super::Foundation::Numerics::Plane, -} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::marker::Copy for SpatialBoundingFrustum {} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::clone::Clone for SpatialBoundingFrustum { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(feature = "Foundation_Numerics")] -pub struct SpatialBoundingOrientedBox { - pub Center: super::super::Foundation::Numerics::Vector3, - pub Extents: super::super::Foundation::Numerics::Vector3, - pub Orientation: super::super::Foundation::Numerics::Quaternion, -} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::marker::Copy for SpatialBoundingOrientedBox {} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::clone::Clone for SpatialBoundingOrientedBox { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(feature = "Foundation_Numerics")] -pub struct SpatialBoundingSphere { - pub Center: super::super::Foundation::Numerics::Vector3, - pub Radius: f32, -} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::marker::Copy for SpatialBoundingSphere {} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::clone::Clone for SpatialBoundingSphere { - fn clone(&self) -> Self { - *self - } -} -pub type SpatialBoundingVolume = *mut ::core::ffi::c_void; -pub type SpatialCoordinateSystem = *mut ::core::ffi::c_void; -pub type SpatialEntity = *mut ::core::ffi::c_void; -pub type SpatialEntityAddedEventArgs = *mut ::core::ffi::c_void; -pub type SpatialEntityRemovedEventArgs = *mut ::core::ffi::c_void; -pub type SpatialEntityStore = *mut ::core::ffi::c_void; -pub type SpatialEntityUpdatedEventArgs = *mut ::core::ffi::c_void; -pub type SpatialEntityWatcher = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct SpatialEntityWatcherStatus(pub i32); -impl SpatialEntityWatcherStatus { - pub const Created: Self = Self(0i32); - pub const Started: Self = Self(1i32); - pub const EnumerationCompleted: Self = Self(2i32); - pub const Stopping: Self = Self(3i32); - pub const Stopped: Self = Self(4i32); - pub const Aborted: Self = Self(5i32); -} -impl ::core::marker::Copy for SpatialEntityWatcherStatus {} -impl ::core::clone::Clone for SpatialEntityWatcherStatus { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct SpatialLocatability(pub i32); -impl SpatialLocatability { - pub const Unavailable: Self = Self(0i32); - pub const OrientationOnly: Self = Self(1i32); - pub const PositionalTrackingActivating: Self = Self(2i32); - pub const PositionalTrackingActive: Self = Self(3i32); - pub const PositionalTrackingInhibited: Self = Self(4i32); -} -impl ::core::marker::Copy for SpatialLocatability {} -impl ::core::clone::Clone for SpatialLocatability { - fn clone(&self) -> Self { - *self - } -} -pub type SpatialLocation = *mut ::core::ffi::c_void; -pub type SpatialLocator = *mut ::core::ffi::c_void; -pub type SpatialLocatorAttachedFrameOfReference = *mut ::core::ffi::c_void; -pub type SpatialLocatorPositionalTrackingDeactivatingEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct SpatialLookDirectionRange(pub i32); -impl SpatialLookDirectionRange { - pub const ForwardOnly: Self = Self(0i32); - pub const Omnidirectional: Self = Self(1i32); -} -impl ::core::marker::Copy for SpatialLookDirectionRange {} -impl ::core::clone::Clone for SpatialLookDirectionRange { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct SpatialMovementRange(pub i32); -impl SpatialMovementRange { - pub const NoMovement: Self = Self(0i32); - pub const Bounded: Self = Self(1i32); -} -impl ::core::marker::Copy for SpatialMovementRange {} -impl ::core::clone::Clone for SpatialMovementRange { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct SpatialPerceptionAccessStatus(pub i32); -impl SpatialPerceptionAccessStatus { - pub const Unspecified: Self = Self(0i32); - pub const Allowed: Self = Self(1i32); - pub const DeniedByUser: Self = Self(2i32); - pub const DeniedBySystem: Self = Self(3i32); -} -impl ::core::marker::Copy for SpatialPerceptionAccessStatus {} -impl ::core::clone::Clone for SpatialPerceptionAccessStatus { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(feature = "Foundation_Numerics")] -pub struct SpatialRay { - pub Origin: super::super::Foundation::Numerics::Vector3, - pub Direction: super::super::Foundation::Numerics::Vector3, -} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::marker::Copy for SpatialRay {} -#[cfg(feature = "Foundation_Numerics")] -impl ::core::clone::Clone for SpatialRay { - fn clone(&self) -> Self { - *self - } -} -pub type SpatialStageFrameOfReference = *mut ::core::ffi::c_void; -pub type SpatialStationaryFrameOfReference = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Perception/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Perception/mod.rs deleted file mode 100644 index d2e59a3dc..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Perception/mod.rs +++ /dev/null @@ -1,10 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Perception_Automation")] -pub mod Automation; -#[cfg(feature = "Perception_People")] -pub mod People; -#[cfg(feature = "Perception_Spatial")] -pub mod Spatial; -#[link(name = "windows")] -extern "system" {} -pub type PerceptionTimestamp = *mut ::core::ffi::c_void; -- cgit v1.2.3