summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Data
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/Data
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/Data')
-rw-r--r--vendor/windows-sys/src/Windows/Data/Html/mod.rs1
-rw-r--r--vendor/windows-sys/src/Windows/Data/Json/mod.rs37
-rw-r--r--vendor/windows-sys/src/Windows/Data/Pdf/mod.rs19
-rw-r--r--vendor/windows-sys/src/Windows/Data/Text/mod.rs110
-rw-r--r--vendor/windows-sys/src/Windows/Data/Xml/Dom/mod.rs45
-rw-r--r--vendor/windows-sys/src/Windows/Data/Xml/Xsl/mod.rs1
-rw-r--r--vendor/windows-sys/src/Windows/Data/Xml/mod.rs4
-rw-r--r--vendor/windows-sys/src/Windows/Data/mod.rs10
8 files changed, 227 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Data/Html/mod.rs b/vendor/windows-sys/src/Windows/Data/Html/mod.rs
new file mode 100644
index 000000000..8b1378917
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Data/Html/mod.rs
@@ -0,0 +1 @@
+
diff --git a/vendor/windows-sys/src/Windows/Data/Json/mod.rs b/vendor/windows-sys/src/Windows/Data/Json/mod.rs
new file mode 100644
index 000000000..9c7d5c5f4
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Data/Json/mod.rs
@@ -0,0 +1,37 @@
+pub type IJsonValue = *mut ::core::ffi::c_void;
+pub type JsonArray = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Data_Json\"`*"]
+#[repr(transparent)]
+pub struct JsonErrorStatus(pub i32);
+impl JsonErrorStatus {
+ pub const Unknown: Self = Self(0i32);
+ pub const InvalidJsonString: Self = Self(1i32);
+ pub const InvalidJsonNumber: Self = Self(2i32);
+ pub const JsonValueNotFound: Self = Self(3i32);
+ pub const ImplementationLimit: Self = Self(4i32);
+}
+impl ::core::marker::Copy for JsonErrorStatus {}
+impl ::core::clone::Clone for JsonErrorStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type JsonObject = *mut ::core::ffi::c_void;
+pub type JsonValue = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Data_Json\"`*"]
+#[repr(transparent)]
+pub struct JsonValueType(pub i32);
+impl JsonValueType {
+ pub const Null: Self = Self(0i32);
+ pub const Boolean: Self = Self(1i32);
+ pub const Number: Self = Self(2i32);
+ pub const String: Self = Self(3i32);
+ pub const Array: Self = Self(4i32);
+ pub const Object: Self = Self(5i32);
+}
+impl ::core::marker::Copy for JsonValueType {}
+impl ::core::clone::Clone for JsonValueType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/Data/Pdf/mod.rs b/vendor/windows-sys/src/Windows/Data/Pdf/mod.rs
new file mode 100644
index 000000000..8b27b6a98
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Data/Pdf/mod.rs
@@ -0,0 +1,19 @@
+pub type PdfDocument = *mut ::core::ffi::c_void;
+pub type PdfPage = *mut ::core::ffi::c_void;
+pub type PdfPageDimensions = *mut ::core::ffi::c_void;
+pub type PdfPageRenderOptions = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Data_Pdf\"`*"]
+#[repr(transparent)]
+pub struct PdfPageRotation(pub i32);
+impl PdfPageRotation {
+ pub const Normal: Self = Self(0i32);
+ pub const Rotate90: Self = Self(1i32);
+ pub const Rotate180: Self = Self(2i32);
+ pub const Rotate270: Self = Self(3i32);
+}
+impl ::core::marker::Copy for PdfPageRotation {}
+impl ::core::clone::Clone for PdfPageRotation {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/Data/Text/mod.rs b/vendor/windows-sys/src/Windows/Data/Text/mod.rs
new file mode 100644
index 000000000..5a891bafa
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Data/Text/mod.rs
@@ -0,0 +1,110 @@
+#[doc = "*Required features: `\"Data_Text\"`*"]
+#[repr(transparent)]
+pub struct AlternateNormalizationFormat(pub i32);
+impl AlternateNormalizationFormat {
+ pub const NotNormalized: Self = Self(0i32);
+ pub const Number: Self = Self(1i32);
+ pub const Currency: Self = Self(3i32);
+ pub const Date: Self = Self(4i32);
+ pub const Time: Self = Self(5i32);
+}
+impl ::core::marker::Copy for AlternateNormalizationFormat {}
+impl ::core::clone::Clone for AlternateNormalizationFormat {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type AlternateWordForm = *mut ::core::ffi::c_void;
+pub type SelectableWordSegment = *mut ::core::ffi::c_void;
+pub type SelectableWordSegmentsTokenizingHandler = *mut ::core::ffi::c_void;
+pub type SelectableWordsSegmenter = *mut ::core::ffi::c_void;
+pub type SemanticTextQuery = *mut ::core::ffi::c_void;
+pub type TextConversionGenerator = *mut ::core::ffi::c_void;
+pub type TextPhoneme = *mut ::core::ffi::c_void;
+pub type TextPredictionGenerator = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Data_Text\"`*"]
+#[repr(transparent)]
+pub struct TextPredictionOptions(pub u32);
+impl TextPredictionOptions {
+ pub const None: Self = Self(0u32);
+ pub const Predictions: Self = Self(1u32);
+ pub const Corrections: Self = Self(2u32);
+}
+impl ::core::marker::Copy for TextPredictionOptions {}
+impl ::core::clone::Clone for TextPredictionOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type TextReverseConversionGenerator = *mut ::core::ffi::c_void;
+#[repr(C)]
+#[doc = "*Required features: `\"Data_Text\"`*"]
+pub struct TextSegment {
+ pub StartPosition: u32,
+ pub Length: u32,
+}
+impl ::core::marker::Copy for TextSegment {}
+impl ::core::clone::Clone for TextSegment {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Data_Text\"`*"]
+#[repr(transparent)]
+pub struct UnicodeGeneralCategory(pub i32);
+impl UnicodeGeneralCategory {
+ pub const UppercaseLetter: Self = Self(0i32);
+ pub const LowercaseLetter: Self = Self(1i32);
+ pub const TitlecaseLetter: Self = Self(2i32);
+ pub const ModifierLetter: Self = Self(3i32);
+ pub const OtherLetter: Self = Self(4i32);
+ pub const NonspacingMark: Self = Self(5i32);
+ pub const SpacingCombiningMark: Self = Self(6i32);
+ pub const EnclosingMark: Self = Self(7i32);
+ pub const DecimalDigitNumber: Self = Self(8i32);
+ pub const LetterNumber: Self = Self(9i32);
+ pub const OtherNumber: Self = Self(10i32);
+ pub const SpaceSeparator: Self = Self(11i32);
+ pub const LineSeparator: Self = Self(12i32);
+ pub const ParagraphSeparator: Self = Self(13i32);
+ pub const Control: Self = Self(14i32);
+ pub const Format: Self = Self(15i32);
+ pub const Surrogate: Self = Self(16i32);
+ pub const PrivateUse: Self = Self(17i32);
+ pub const ConnectorPunctuation: Self = Self(18i32);
+ pub const DashPunctuation: Self = Self(19i32);
+ pub const OpenPunctuation: Self = Self(20i32);
+ pub const ClosePunctuation: Self = Self(21i32);
+ pub const InitialQuotePunctuation: Self = Self(22i32);
+ pub const FinalQuotePunctuation: Self = Self(23i32);
+ pub const OtherPunctuation: Self = Self(24i32);
+ pub const MathSymbol: Self = Self(25i32);
+ pub const CurrencySymbol: Self = Self(26i32);
+ pub const ModifierSymbol: Self = Self(27i32);
+ pub const OtherSymbol: Self = Self(28i32);
+ pub const NotAssigned: Self = Self(29i32);
+}
+impl ::core::marker::Copy for UnicodeGeneralCategory {}
+impl ::core::clone::Clone for UnicodeGeneralCategory {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Data_Text\"`*"]
+#[repr(transparent)]
+pub struct UnicodeNumericType(pub i32);
+impl UnicodeNumericType {
+ pub const None: Self = Self(0i32);
+ pub const Decimal: Self = Self(1i32);
+ pub const Digit: Self = Self(2i32);
+ pub const Numeric: Self = Self(3i32);
+}
+impl ::core::marker::Copy for UnicodeNumericType {}
+impl ::core::clone::Clone for UnicodeNumericType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type WordSegment = *mut ::core::ffi::c_void;
+pub type WordSegmentsTokenizingHandler = *mut ::core::ffi::c_void;
+pub type WordsSegmenter = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Data/Xml/Dom/mod.rs b/vendor/windows-sys/src/Windows/Data/Xml/Dom/mod.rs
new file mode 100644
index 000000000..5bba7badb
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Data/Xml/Dom/mod.rs
@@ -0,0 +1,45 @@
+pub type DtdEntity = *mut ::core::ffi::c_void;
+pub type DtdNotation = *mut ::core::ffi::c_void;
+pub type IXmlCharacterData = *mut ::core::ffi::c_void;
+pub type IXmlNode = *mut ::core::ffi::c_void;
+pub type IXmlNodeSelector = *mut ::core::ffi::c_void;
+pub type IXmlNodeSerializer = *mut ::core::ffi::c_void;
+pub type IXmlText = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Data_Xml_Dom\"`*"]
+#[repr(transparent)]
+pub struct NodeType(pub i32);
+impl NodeType {
+ pub const Invalid: Self = Self(0i32);
+ pub const ElementNode: Self = Self(1i32);
+ pub const AttributeNode: Self = Self(2i32);
+ pub const TextNode: Self = Self(3i32);
+ pub const DataSectionNode: Self = Self(4i32);
+ pub const EntityReferenceNode: Self = Self(5i32);
+ pub const EntityNode: Self = Self(6i32);
+ pub const ProcessingInstructionNode: Self = Self(7i32);
+ pub const CommentNode: Self = Self(8i32);
+ pub const DocumentNode: Self = Self(9i32);
+ pub const DocumentTypeNode: Self = Self(10i32);
+ pub const DocumentFragmentNode: Self = Self(11i32);
+ pub const NotationNode: Self = Self(12i32);
+}
+impl ::core::marker::Copy for NodeType {}
+impl ::core::clone::Clone for NodeType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type XmlAttribute = *mut ::core::ffi::c_void;
+pub type XmlCDataSection = *mut ::core::ffi::c_void;
+pub type XmlComment = *mut ::core::ffi::c_void;
+pub type XmlDocument = *mut ::core::ffi::c_void;
+pub type XmlDocumentFragment = *mut ::core::ffi::c_void;
+pub type XmlDocumentType = *mut ::core::ffi::c_void;
+pub type XmlDomImplementation = *mut ::core::ffi::c_void;
+pub type XmlElement = *mut ::core::ffi::c_void;
+pub type XmlEntityReference = *mut ::core::ffi::c_void;
+pub type XmlLoadSettings = *mut ::core::ffi::c_void;
+pub type XmlNamedNodeMap = *mut ::core::ffi::c_void;
+pub type XmlNodeList = *mut ::core::ffi::c_void;
+pub type XmlProcessingInstruction = *mut ::core::ffi::c_void;
+pub type XmlText = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Data/Xml/Xsl/mod.rs b/vendor/windows-sys/src/Windows/Data/Xml/Xsl/mod.rs
new file mode 100644
index 000000000..eb30bda78
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Data/Xml/Xsl/mod.rs
@@ -0,0 +1 @@
+pub type XsltProcessor = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Data/Xml/mod.rs b/vendor/windows-sys/src/Windows/Data/Xml/mod.rs
new file mode 100644
index 000000000..0081fd7d8
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Data/Xml/mod.rs
@@ -0,0 +1,4 @@
+#[cfg(feature = "Data_Xml_Dom")]
+pub mod Dom;
+#[cfg(feature = "Data_Xml_Xsl")]
+pub mod Xsl;
diff --git a/vendor/windows-sys/src/Windows/Data/mod.rs b/vendor/windows-sys/src/Windows/Data/mod.rs
new file mode 100644
index 000000000..dc5454789
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Data/mod.rs
@@ -0,0 +1,10 @@
+#[cfg(feature = "Data_Html")]
+pub mod Html;
+#[cfg(feature = "Data_Json")]
+pub mod Json;
+#[cfg(feature = "Data_Pdf")]
+pub mod Pdf;
+#[cfg(feature = "Data_Text")]
+pub mod Text;
+#[cfg(feature = "Data_Xml")]
+pub mod Xml;