]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Data/Text/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Data / Text / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[doc = "*Required features: `\"Data_Text\"`*"]
3 #[repr(transparent)]
4 pub struct AlternateNormalizationFormat(pub i32);
5 impl AlternateNormalizationFormat {
6 pub const NotNormalized: Self = Self(0i32);
7 pub const Number: Self = Self(1i32);
8 pub const Currency: Self = Self(3i32);
9 pub const Date: Self = Self(4i32);
10 pub const Time: Self = Self(5i32);
11 }
12 impl ::core::marker::Copy for AlternateNormalizationFormat {}
13 impl ::core::clone::Clone for AlternateNormalizationFormat {
14 fn clone(&self) -> Self {
15 *self
16 }
17 }
18 pub type AlternateWordForm = *mut ::core::ffi::c_void;
19 pub type SelectableWordSegment = *mut ::core::ffi::c_void;
20 pub type SelectableWordSegmentsTokenizingHandler = *mut ::core::ffi::c_void;
21 pub type SelectableWordsSegmenter = *mut ::core::ffi::c_void;
22 pub type SemanticTextQuery = *mut ::core::ffi::c_void;
23 pub type TextConversionGenerator = *mut ::core::ffi::c_void;
24 pub type TextPhoneme = *mut ::core::ffi::c_void;
25 pub type TextPredictionGenerator = *mut ::core::ffi::c_void;
26 #[doc = "*Required features: `\"Data_Text\"`*"]
27 #[repr(transparent)]
28 pub struct TextPredictionOptions(pub u32);
29 impl TextPredictionOptions {
30 pub const None: Self = Self(0u32);
31 pub const Predictions: Self = Self(1u32);
32 pub const Corrections: Self = Self(2u32);
33 }
34 impl ::core::marker::Copy for TextPredictionOptions {}
35 impl ::core::clone::Clone for TextPredictionOptions {
36 fn clone(&self) -> Self {
37 *self
38 }
39 }
40 pub type TextReverseConversionGenerator = *mut ::core::ffi::c_void;
41 #[repr(C)]
42 #[doc = "*Required features: `\"Data_Text\"`*"]
43 pub struct TextSegment {
44 pub StartPosition: u32,
45 pub Length: u32,
46 }
47 impl ::core::marker::Copy for TextSegment {}
48 impl ::core::clone::Clone for TextSegment {
49 fn clone(&self) -> Self {
50 *self
51 }
52 }
53 #[doc = "*Required features: `\"Data_Text\"`*"]
54 #[repr(transparent)]
55 pub struct UnicodeGeneralCategory(pub i32);
56 impl UnicodeGeneralCategory {
57 pub const UppercaseLetter: Self = Self(0i32);
58 pub const LowercaseLetter: Self = Self(1i32);
59 pub const TitlecaseLetter: Self = Self(2i32);
60 pub const ModifierLetter: Self = Self(3i32);
61 pub const OtherLetter: Self = Self(4i32);
62 pub const NonspacingMark: Self = Self(5i32);
63 pub const SpacingCombiningMark: Self = Self(6i32);
64 pub const EnclosingMark: Self = Self(7i32);
65 pub const DecimalDigitNumber: Self = Self(8i32);
66 pub const LetterNumber: Self = Self(9i32);
67 pub const OtherNumber: Self = Self(10i32);
68 pub const SpaceSeparator: Self = Self(11i32);
69 pub const LineSeparator: Self = Self(12i32);
70 pub const ParagraphSeparator: Self = Self(13i32);
71 pub const Control: Self = Self(14i32);
72 pub const Format: Self = Self(15i32);
73 pub const Surrogate: Self = Self(16i32);
74 pub const PrivateUse: Self = Self(17i32);
75 pub const ConnectorPunctuation: Self = Self(18i32);
76 pub const DashPunctuation: Self = Self(19i32);
77 pub const OpenPunctuation: Self = Self(20i32);
78 pub const ClosePunctuation: Self = Self(21i32);
79 pub const InitialQuotePunctuation: Self = Self(22i32);
80 pub const FinalQuotePunctuation: Self = Self(23i32);
81 pub const OtherPunctuation: Self = Self(24i32);
82 pub const MathSymbol: Self = Self(25i32);
83 pub const CurrencySymbol: Self = Self(26i32);
84 pub const ModifierSymbol: Self = Self(27i32);
85 pub const OtherSymbol: Self = Self(28i32);
86 pub const NotAssigned: Self = Self(29i32);
87 }
88 impl ::core::marker::Copy for UnicodeGeneralCategory {}
89 impl ::core::clone::Clone for UnicodeGeneralCategory {
90 fn clone(&self) -> Self {
91 *self
92 }
93 }
94 #[doc = "*Required features: `\"Data_Text\"`*"]
95 #[repr(transparent)]
96 pub struct UnicodeNumericType(pub i32);
97 impl UnicodeNumericType {
98 pub const None: Self = Self(0i32);
99 pub const Decimal: Self = Self(1i32);
100 pub const Digit: Self = Self(2i32);
101 pub const Numeric: Self = Self(3i32);
102 }
103 impl ::core::marker::Copy for UnicodeNumericType {}
104 impl ::core::clone::Clone for UnicodeNumericType {
105 fn clone(&self) -> Self {
106 *self
107 }
108 }
109 pub type WordSegment = *mut ::core::ffi::c_void;
110 pub type WordSegmentsTokenizingHandler = *mut ::core::ffi::c_void;
111 pub type WordsSegmenter = *mut ::core::ffi::c_void;