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