Skip to content

Commit

Permalink
windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Dec 29, 2023
1 parent 457c68e commit a89db1b
Show file tree
Hide file tree
Showing 509 changed files with 9,127 additions and 109,024 deletions.
52 changes: 4 additions & 48 deletions crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4099,7 +4099,7 @@ impl ::windows_core::CanTryInto<ITensor> for TensorUInt8Bit {}
unsafe impl ::core::marker::Send for TensorUInt8Bit {}
unsafe impl ::core::marker::Sync for TensorUInt8Bit {}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::marker::Copy, ::core::clone::Clone, ::core::default::Default)]
pub struct LearningModelDeviceKind(pub i32);
impl LearningModelDeviceKind {
pub const Default: Self = Self(0i32);
Expand All @@ -4108,17 +4108,6 @@ impl LearningModelDeviceKind {
pub const DirectXHighPerformance: Self = Self(3i32);
pub const DirectXMinPower: Self = Self(4i32);
}
impl ::core::marker::Copy for LearningModelDeviceKind {}
impl ::core::clone::Clone for LearningModelDeviceKind {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for LearningModelDeviceKind {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for LearningModelDeviceKind {
type TypeKind = ::windows_core::CopyType;
}
Expand All @@ -4131,25 +4120,14 @@ impl ::windows_core::RuntimeType for LearningModelDeviceKind {
const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.AI.MachineLearning.LearningModelDeviceKind;i4)");
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::marker::Copy, ::core::clone::Clone, ::core::default::Default)]
pub struct LearningModelFeatureKind(pub i32);
impl LearningModelFeatureKind {
pub const Tensor: Self = Self(0i32);
pub const Sequence: Self = Self(1i32);
pub const Map: Self = Self(2i32);
pub const Image: Self = Self(3i32);
}
impl ::core::marker::Copy for LearningModelFeatureKind {}
impl ::core::clone::Clone for LearningModelFeatureKind {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for LearningModelFeatureKind {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for LearningModelFeatureKind {
type TypeKind = ::windows_core::CopyType;
}
Expand All @@ -4162,24 +4140,13 @@ impl ::windows_core::RuntimeType for LearningModelFeatureKind {
const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.AI.MachineLearning.LearningModelFeatureKind;i4)");
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::marker::Copy, ::core::clone::Clone, ::core::default::Default)]
pub struct LearningModelPixelRange(pub i32);
impl LearningModelPixelRange {
pub const ZeroTo255: Self = Self(0i32);
pub const ZeroToOne: Self = Self(1i32);
pub const MinusOneToOne: Self = Self(2i32);
}
impl ::core::marker::Copy for LearningModelPixelRange {}
impl ::core::clone::Clone for LearningModelPixelRange {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for LearningModelPixelRange {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for LearningModelPixelRange {
type TypeKind = ::windows_core::CopyType;
}
Expand All @@ -4192,7 +4159,7 @@ impl ::windows_core::RuntimeType for LearningModelPixelRange {
const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.AI.MachineLearning.LearningModelPixelRange;i4)");
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::marker::Copy, ::core::clone::Clone, ::core::default::Default)]
pub struct TensorKind(pub i32);
impl TensorKind {
pub const Undefined: Self = Self(0i32);
Expand All @@ -4212,17 +4179,6 @@ impl TensorKind {
pub const Complex64: Self = Self(14i32);
pub const Complex128: Self = Self(15i32);
}
impl ::core::marker::Copy for TensorKind {}
impl ::core::clone::Clone for TensorKind {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for TensorKind {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for TensorKind {
type TypeKind = ::windows_core::CopyType;
}
Expand Down
26 changes: 2 additions & 24 deletions crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6965,7 +6965,7 @@ impl ::windows_core::CanTryInto<IWebAuthenticationBrokerContinuationEventArgs> f
unsafe impl ::core::marker::Send for WebAuthenticationBrokerContinuationEventArgs {}
unsafe impl ::core::marker::Sync for WebAuthenticationBrokerContinuationEventArgs {}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::marker::Copy, ::core::clone::Clone, ::core::default::Default)]
pub struct ActivationKind(pub i32);
impl ActivationKind {
pub const Launch: Self = Self(0i32);
Expand Down Expand Up @@ -7013,17 +7013,6 @@ impl ActivationKind {
pub const PhoneCallActivation: Self = Self(1025i32);
pub const VpnForeground: Self = Self(1026i32);
}
impl ::core::marker::Copy for ActivationKind {}
impl ::core::clone::Clone for ActivationKind {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for ActivationKind {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for ActivationKind {
type TypeKind = ::windows_core::CopyType;
}
Expand All @@ -7036,7 +7025,7 @@ impl ::windows_core::RuntimeType for ActivationKind {
const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Activation.ActivationKind;i4)");
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::marker::Copy, ::core::clone::Clone, ::core::default::Default)]
pub struct ApplicationExecutionState(pub i32);
impl ApplicationExecutionState {
pub const NotRunning: Self = Self(0i32);
Expand All @@ -7045,17 +7034,6 @@ impl ApplicationExecutionState {
pub const Terminated: Self = Self(3i32);
pub const ClosedByUser: Self = Self(4i32);
}
impl ::core::marker::Copy for ApplicationExecutionState {}
impl ::core::clone::Clone for ApplicationExecutionState {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for ApplicationExecutionState {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for ApplicationExecutionState {
type TypeKind = ::windows_core::CopyType;
}
Expand Down
52 changes: 4 additions & 48 deletions crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -698,25 +698,14 @@ impl ::windows_core::RuntimeName for StatelessAppServiceResponse {
unsafe impl ::core::marker::Send for StatelessAppServiceResponse {}
unsafe impl ::core::marker::Sync for StatelessAppServiceResponse {}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::marker::Copy, ::core::clone::Clone, ::core::default::Default)]
pub struct AppServiceClosedStatus(pub i32);
impl AppServiceClosedStatus {
pub const Completed: Self = Self(0i32);
pub const Canceled: Self = Self(1i32);
pub const ResourceLimitsExceeded: Self = Self(2i32);
pub const Unknown: Self = Self(3i32);
}
impl ::core::marker::Copy for AppServiceClosedStatus {}
impl ::core::clone::Clone for AppServiceClosedStatus {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for AppServiceClosedStatus {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for AppServiceClosedStatus {
type TypeKind = ::windows_core::CopyType;
}
Expand All @@ -729,7 +718,7 @@ impl ::windows_core::RuntimeType for AppServiceClosedStatus {
const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppService.AppServiceClosedStatus;i4)");
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::marker::Copy, ::core::clone::Clone, ::core::default::Default)]
pub struct AppServiceConnectionStatus(pub i32);
impl AppServiceConnectionStatus {
pub const Success: Self = Self(0i32);
Expand All @@ -745,17 +734,6 @@ impl AppServiceConnectionStatus {
pub const DisabledByPolicy: Self = Self(10i32);
pub const WebServiceUnavailable: Self = Self(11i32);
}
impl ::core::marker::Copy for AppServiceConnectionStatus {}
impl ::core::clone::Clone for AppServiceConnectionStatus {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for AppServiceConnectionStatus {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for AppServiceConnectionStatus {
type TypeKind = ::windows_core::CopyType;
}
Expand All @@ -768,7 +746,7 @@ impl ::windows_core::RuntimeType for AppServiceConnectionStatus {
const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppService.AppServiceConnectionStatus;i4)");
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::marker::Copy, ::core::clone::Clone, ::core::default::Default)]
pub struct AppServiceResponseStatus(pub i32);
impl AppServiceResponseStatus {
pub const Success: Self = Self(0i32);
Expand All @@ -783,17 +761,6 @@ impl AppServiceResponseStatus {
pub const DisabledByPolicy: Self = Self(9i32);
pub const WebServiceUnavailable: Self = Self(10i32);
}
impl ::core::marker::Copy for AppServiceResponseStatus {}
impl ::core::clone::Clone for AppServiceResponseStatus {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for AppServiceResponseStatus {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for AppServiceResponseStatus {
type TypeKind = ::windows_core::CopyType;
}
Expand All @@ -806,7 +773,7 @@ impl ::windows_core::RuntimeType for AppServiceResponseStatus {
const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.AppService.AppServiceResponseStatus;i4)");
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::marker::Copy, ::core::clone::Clone, ::core::default::Default)]
pub struct StatelessAppServiceResponseStatus(pub i32);
impl StatelessAppServiceResponseStatus {
pub const Success: Self = Self(0i32);
Expand All @@ -825,17 +792,6 @@ impl StatelessAppServiceResponseStatus {
pub const DisabledByPolicy: Self = Self(13i32);
pub const WebServiceUnavailable: Self = Self(14i32);
}
impl ::core::marker::Copy for StatelessAppServiceResponseStatus {}
impl ::core::clone::Clone for StatelessAppServiceResponseStatus {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for StatelessAppServiceResponseStatus {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for StatelessAppServiceResponseStatus {
type TypeKind = ::windows_core::CopyType;
}
Expand Down
Loading

0 comments on commit a89db1b

Please sign in to comment.