]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/AI/MachineLearning/Preview/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / AI / MachineLearning / Preview / mod.rs
CommitLineData
04454e1e 1#[doc = "*Required features: `\"AI_MachineLearning_Preview\"`, `\"deprecated\"`*"]
5e7ed085
FG
2#[cfg(feature = "deprecated")]
3#[repr(transparent)]
4pub struct FeatureElementKindPreview(pub i32);
5#[cfg(feature = "deprecated")]
6impl FeatureElementKindPreview {
7 pub const Undefined: Self = Self(0i32);
8 pub const Float: Self = Self(1i32);
9 pub const UInt8: Self = Self(2i32);
10 pub const Int8: Self = Self(3i32);
11 pub const UInt16: Self = Self(4i32);
12 pub const Int16: Self = Self(5i32);
13 pub const Int32: Self = Self(6i32);
14 pub const Int64: Self = Self(7i32);
15 pub const String: Self = Self(8i32);
16 pub const Boolean: Self = Self(9i32);
17 pub const Float16: Self = Self(10i32);
18 pub const Double: Self = Self(11i32);
19 pub const UInt32: Self = Self(12i32);
20 pub const UInt64: Self = Self(13i32);
21 pub const Complex64: Self = Self(14i32);
22 pub const Complex128: Self = Self(15i32);
23}
24#[cfg(feature = "deprecated")]
25impl ::core::marker::Copy for FeatureElementKindPreview {}
26#[cfg(feature = "deprecated")]
27impl ::core::clone::Clone for FeatureElementKindPreview {
28 fn clone(&self) -> Self {
29 *self
30 }
31}
32pub type ILearningModelVariableDescriptorPreview = *mut ::core::ffi::c_void;
33pub type ImageVariableDescriptorPreview = *mut ::core::ffi::c_void;
34pub type InferencingOptionsPreview = *mut ::core::ffi::c_void;
35pub type LearningModelBindingPreview = *mut ::core::ffi::c_void;
36pub type LearningModelDescriptionPreview = *mut ::core::ffi::c_void;
04454e1e 37#[doc = "*Required features: `\"AI_MachineLearning_Preview\"`, `\"deprecated\"`*"]
5e7ed085
FG
38#[cfg(feature = "deprecated")]
39#[repr(transparent)]
40pub struct LearningModelDeviceKindPreview(pub i32);
41#[cfg(feature = "deprecated")]
42impl LearningModelDeviceKindPreview {
43 pub const LearningDeviceAny: Self = Self(0i32);
44 pub const LearningDeviceCpu: Self = Self(1i32);
45 pub const LearningDeviceGpu: Self = Self(2i32);
46 pub const LearningDeviceNpu: Self = Self(3i32);
47 pub const LearningDeviceDsp: Self = Self(4i32);
48 pub const LearningDeviceFpga: Self = Self(5i32);
49}
50#[cfg(feature = "deprecated")]
51impl ::core::marker::Copy for LearningModelDeviceKindPreview {}
52#[cfg(feature = "deprecated")]
53impl ::core::clone::Clone for LearningModelDeviceKindPreview {
54 fn clone(&self) -> Self {
55 *self
56 }
57}
58pub type LearningModelEvaluationResultPreview = *mut ::core::ffi::c_void;
04454e1e 59#[doc = "*Required features: `\"AI_MachineLearning_Preview\"`, `\"deprecated\"`*"]
5e7ed085
FG
60#[cfg(feature = "deprecated")]
61#[repr(transparent)]
62pub struct LearningModelFeatureKindPreview(pub i32);
63#[cfg(feature = "deprecated")]
64impl LearningModelFeatureKindPreview {
65 pub const Undefined: Self = Self(0i32);
66 pub const Tensor: Self = Self(1i32);
67 pub const Sequence: Self = Self(2i32);
68 pub const Map: Self = Self(3i32);
69 pub const Image: Self = Self(4i32);
70}
71#[cfg(feature = "deprecated")]
72impl ::core::marker::Copy for LearningModelFeatureKindPreview {}
73#[cfg(feature = "deprecated")]
74impl ::core::clone::Clone for LearningModelFeatureKindPreview {
75 fn clone(&self) -> Self {
76 *self
77 }
78}
79pub type LearningModelPreview = *mut ::core::ffi::c_void;
80pub type LearningModelVariableDescriptorPreview = *mut ::core::ffi::c_void;
81pub type MapVariableDescriptorPreview = *mut ::core::ffi::c_void;
82pub type SequenceVariableDescriptorPreview = *mut ::core::ffi::c_void;
83pub type TensorVariableDescriptorPreview = *mut ::core::ffi::c_void;