Skip to content

Commit

Permalink
bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Jun 13, 2024
1 parent 3d093ea commit 0006920
Show file tree
Hide file tree
Showing 285 changed files with 3,233 additions and 3,233 deletions.
2 changes: 1 addition & 1 deletion crates/libs/core/src/imp/com_bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ pub struct IPropertyValueStatics_Vtbl {
) -> windows_core::HRESULT,
}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct IReference<T>(windows_core::IUnknown, core::marker::PhantomData<T>)
where
T: windows_core::RuntimeType + 'static;
Expand Down
48 changes: 24 additions & 24 deletions crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ pub struct ITensorUInt8BitStatics2_Vtbl {
CreateFromBuffer: usize,
}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct ImageFeatureDescriptor(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(ImageFeatureDescriptor, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(ImageFeatureDescriptor, ILearningModelFeatureDescriptor);
Expand Down Expand Up @@ -1101,7 +1101,7 @@ impl windows_core::RuntimeName for ImageFeatureDescriptor {
unsafe impl Send for ImageFeatureDescriptor {}
unsafe impl Sync for ImageFeatureDescriptor {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct ImageFeatureValue(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(ImageFeatureValue, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(ImageFeatureValue, ILearningModelFeatureValue);
Expand Down Expand Up @@ -1150,7 +1150,7 @@ impl windows_core::RuntimeName for ImageFeatureValue {
unsafe impl Send for ImageFeatureValue {}
unsafe impl Sync for ImageFeatureValue {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct LearningModel(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(LearningModel, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(LearningModel, super::super::Foundation::IClosable);
Expand Down Expand Up @@ -1315,7 +1315,7 @@ impl windows_core::RuntimeName for LearningModel {
unsafe impl Send for LearningModel {}
unsafe impl Sync for LearningModel {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct LearningModelBinding(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(LearningModelBinding, windows_core::IUnknown, windows_core::IInspectable);
#[cfg(feature = "Foundation_Collections")]
Expand Down Expand Up @@ -1422,7 +1422,7 @@ impl IntoIterator for &LearningModelBinding {
unsafe impl Send for LearningModelBinding {}
unsafe impl Sync for LearningModelBinding {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct LearningModelDevice(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(LearningModelDevice, windows_core::IUnknown, windows_core::IInspectable);
impl LearningModelDevice {
Expand Down Expand Up @@ -1482,7 +1482,7 @@ impl windows_core::RuntimeName for LearningModelDevice {
unsafe impl Send for LearningModelDevice {}
unsafe impl Sync for LearningModelDevice {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct LearningModelEvaluationResult(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(LearningModelEvaluationResult, windows_core::IUnknown, windows_core::IInspectable);
impl LearningModelEvaluationResult {
Expand Down Expand Up @@ -1529,7 +1529,7 @@ impl windows_core::RuntimeName for LearningModelEvaluationResult {
unsafe impl Send for LearningModelEvaluationResult {}
unsafe impl Sync for LearningModelEvaluationResult {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct LearningModelSession(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(LearningModelSession, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(LearningModelSession, super::super::Foundation::IClosable);
Expand Down Expand Up @@ -1656,7 +1656,7 @@ impl windows_core::RuntimeName for LearningModelSession {
unsafe impl Send for LearningModelSession {}
unsafe impl Sync for LearningModelSession {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct LearningModelSessionOptions(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(LearningModelSessionOptions, windows_core::IUnknown, windows_core::IInspectable);
impl LearningModelSessionOptions {
Expand Down Expand Up @@ -1707,7 +1707,7 @@ impl windows_core::RuntimeName for LearningModelSessionOptions {
unsafe impl Send for LearningModelSessionOptions {}
unsafe impl Sync for LearningModelSessionOptions {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct MapFeatureDescriptor(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(MapFeatureDescriptor, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(MapFeatureDescriptor, ILearningModelFeatureDescriptor);
Expand Down Expand Up @@ -1768,7 +1768,7 @@ impl windows_core::RuntimeName for MapFeatureDescriptor {
unsafe impl Send for MapFeatureDescriptor {}
unsafe impl Sync for MapFeatureDescriptor {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct SequenceFeatureDescriptor(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(SequenceFeatureDescriptor, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(SequenceFeatureDescriptor, ILearningModelFeatureDescriptor);
Expand Down Expand Up @@ -1822,7 +1822,7 @@ impl windows_core::RuntimeName for SequenceFeatureDescriptor {
unsafe impl Send for SequenceFeatureDescriptor {}
unsafe impl Sync for SequenceFeatureDescriptor {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct TensorBoolean(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(TensorBoolean, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(TensorBoolean, super::super::Foundation::IClosable, ILearningModelFeatureValue, super::super::Foundation::IMemoryBuffer, ITensor);
Expand Down Expand Up @@ -1945,7 +1945,7 @@ impl windows_core::RuntimeName for TensorBoolean {
unsafe impl Send for TensorBoolean {}
unsafe impl Sync for TensorBoolean {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct TensorDouble(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(TensorDouble, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(TensorDouble, super::super::Foundation::IClosable, ILearningModelFeatureValue, super::super::Foundation::IMemoryBuffer, ITensor);
Expand Down Expand Up @@ -2068,7 +2068,7 @@ impl windows_core::RuntimeName for TensorDouble {
unsafe impl Send for TensorDouble {}
unsafe impl Sync for TensorDouble {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct TensorFeatureDescriptor(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(TensorFeatureDescriptor, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(TensorFeatureDescriptor, ILearningModelFeatureDescriptor);
Expand Down Expand Up @@ -2130,7 +2130,7 @@ impl windows_core::RuntimeName for TensorFeatureDescriptor {
unsafe impl Send for TensorFeatureDescriptor {}
unsafe impl Sync for TensorFeatureDescriptor {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct TensorFloat(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(TensorFloat, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(TensorFloat, super::super::Foundation::IClosable, ILearningModelFeatureValue, super::super::Foundation::IMemoryBuffer, ITensor);
Expand Down Expand Up @@ -2253,7 +2253,7 @@ impl windows_core::RuntimeName for TensorFloat {
unsafe impl Send for TensorFloat {}
unsafe impl Sync for TensorFloat {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct TensorFloat16Bit(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(TensorFloat16Bit, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(TensorFloat16Bit, super::super::Foundation::IClosable, ILearningModelFeatureValue, super::super::Foundation::IMemoryBuffer, ITensor);
Expand Down Expand Up @@ -2376,7 +2376,7 @@ impl windows_core::RuntimeName for TensorFloat16Bit {
unsafe impl Send for TensorFloat16Bit {}
unsafe impl Sync for TensorFloat16Bit {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct TensorInt16Bit(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(TensorInt16Bit, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(TensorInt16Bit, super::super::Foundation::IClosable, ILearningModelFeatureValue, super::super::Foundation::IMemoryBuffer, ITensor);
Expand Down Expand Up @@ -2499,7 +2499,7 @@ impl windows_core::RuntimeName for TensorInt16Bit {
unsafe impl Send for TensorInt16Bit {}
unsafe impl Sync for TensorInt16Bit {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct TensorInt32Bit(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(TensorInt32Bit, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(TensorInt32Bit, super::super::Foundation::IClosable, ILearningModelFeatureValue, super::super::Foundation::IMemoryBuffer, ITensor);
Expand Down Expand Up @@ -2622,7 +2622,7 @@ impl windows_core::RuntimeName for TensorInt32Bit {
unsafe impl Send for TensorInt32Bit {}
unsafe impl Sync for TensorInt32Bit {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct TensorInt64Bit(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(TensorInt64Bit, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(TensorInt64Bit, super::super::Foundation::IClosable, ILearningModelFeatureValue, super::super::Foundation::IMemoryBuffer, ITensor);
Expand Down Expand Up @@ -2745,7 +2745,7 @@ impl windows_core::RuntimeName for TensorInt64Bit {
unsafe impl Send for TensorInt64Bit {}
unsafe impl Sync for TensorInt64Bit {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct TensorInt8Bit(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(TensorInt8Bit, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(TensorInt8Bit, super::super::Foundation::IClosable, ILearningModelFeatureValue, super::super::Foundation::IMemoryBuffer, ITensor);
Expand Down Expand Up @@ -2868,7 +2868,7 @@ impl windows_core::RuntimeName for TensorInt8Bit {
unsafe impl Send for TensorInt8Bit {}
unsafe impl Sync for TensorInt8Bit {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct TensorString(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(TensorString, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(TensorString, super::super::Foundation::IClosable, ILearningModelFeatureValue, super::super::Foundation::IMemoryBuffer, ITensor);
Expand Down Expand Up @@ -2981,7 +2981,7 @@ impl windows_core::RuntimeName for TensorString {
unsafe impl Send for TensorString {}
unsafe impl Sync for TensorString {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct TensorUInt16Bit(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(TensorUInt16Bit, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(TensorUInt16Bit, super::super::Foundation::IClosable, ILearningModelFeatureValue, super::super::Foundation::IMemoryBuffer, ITensor);
Expand Down Expand Up @@ -3104,7 +3104,7 @@ impl windows_core::RuntimeName for TensorUInt16Bit {
unsafe impl Send for TensorUInt16Bit {}
unsafe impl Sync for TensorUInt16Bit {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct TensorUInt32Bit(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(TensorUInt32Bit, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(TensorUInt32Bit, super::super::Foundation::IClosable, ILearningModelFeatureValue, super::super::Foundation::IMemoryBuffer, ITensor);
Expand Down Expand Up @@ -3227,7 +3227,7 @@ impl windows_core::RuntimeName for TensorUInt32Bit {
unsafe impl Send for TensorUInt32Bit {}
unsafe impl Sync for TensorUInt32Bit {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct TensorUInt64Bit(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(TensorUInt64Bit, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(TensorUInt64Bit, super::super::Foundation::IClosable, ILearningModelFeatureValue, super::super::Foundation::IMemoryBuffer, ITensor);
Expand Down Expand Up @@ -3350,7 +3350,7 @@ impl windows_core::RuntimeName for TensorUInt64Bit {
unsafe impl Send for TensorUInt64Bit {}
unsafe impl Sync for TensorUInt64Bit {}
#[repr(transparent)]
#[derive(PartialEq, Eq, core::fmt::Debug, Clone)]
#[derive(PartialEq, Eq, Debug, Clone)]
pub struct TensorUInt8Bit(windows_core::IUnknown);
windows_core::imp::interface_hierarchy!(TensorUInt8Bit, windows_core::IUnknown, windows_core::IInspectable);
windows_core::imp::required_hierarchy!(TensorUInt8Bit, super::super::Foundation::IClosable, ILearningModelFeatureValue, super::super::Foundation::IMemoryBuffer, ITensor);
Expand Down
Loading

0 comments on commit 0006920

Please sign in to comment.