]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/UI/Text/Core/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / UI / Text / Core / mod.rs
CommitLineData
5e7ed085
FG
1pub type CoreTextCompositionCompletedEventArgs = *mut ::core::ffi::c_void;
2pub type CoreTextCompositionSegment = *mut ::core::ffi::c_void;
3pub type CoreTextCompositionStartedEventArgs = *mut ::core::ffi::c_void;
4pub type CoreTextEditContext = *mut ::core::ffi::c_void;
5pub type CoreTextFormatUpdatingEventArgs = *mut ::core::ffi::c_void;
04454e1e 6#[doc = "*Required features: `\"UI_Text_Core\"`*"]
5e7ed085
FG
7#[repr(transparent)]
8pub struct CoreTextFormatUpdatingReason(pub i32);
9impl CoreTextFormatUpdatingReason {
10 pub const None: Self = Self(0i32);
11 pub const CompositionUnconverted: Self = Self(1i32);
12 pub const CompositionConverted: Self = Self(2i32);
13 pub const CompositionTargetUnconverted: Self = Self(3i32);
14 pub const CompositionTargetConverted: Self = Self(4i32);
15}
16impl ::core::marker::Copy for CoreTextFormatUpdatingReason {}
17impl ::core::clone::Clone for CoreTextFormatUpdatingReason {
18 fn clone(&self) -> Self {
19 *self
20 }
21}
04454e1e 22#[doc = "*Required features: `\"UI_Text_Core\"`*"]
5e7ed085
FG
23#[repr(transparent)]
24pub struct CoreTextFormatUpdatingResult(pub i32);
25impl CoreTextFormatUpdatingResult {
26 pub const Succeeded: Self = Self(0i32);
27 pub const Failed: Self = Self(1i32);
28}
29impl ::core::marker::Copy for CoreTextFormatUpdatingResult {}
30impl ::core::clone::Clone for CoreTextFormatUpdatingResult {
31 fn clone(&self) -> Self {
32 *self
33 }
34}
04454e1e 35#[doc = "*Required features: `\"UI_Text_Core\"`*"]
5e7ed085
FG
36#[repr(transparent)]
37pub struct CoreTextInputPaneDisplayPolicy(pub i32);
38impl CoreTextInputPaneDisplayPolicy {
39 pub const Automatic: Self = Self(0i32);
40 pub const Manual: Self = Self(1i32);
41}
42impl ::core::marker::Copy for CoreTextInputPaneDisplayPolicy {}
43impl ::core::clone::Clone for CoreTextInputPaneDisplayPolicy {
44 fn clone(&self) -> Self {
45 *self
46 }
47}
04454e1e 48#[doc = "*Required features: `\"UI_Text_Core\"`*"]
5e7ed085
FG
49#[repr(transparent)]
50pub struct CoreTextInputScope(pub i32);
51impl CoreTextInputScope {
52 pub const Default: Self = Self(0i32);
53 pub const Url: Self = Self(1i32);
54 pub const FilePath: Self = Self(2i32);
55 pub const FileName: Self = Self(3i32);
56 pub const EmailUserName: Self = Self(4i32);
57 pub const EmailAddress: Self = Self(5i32);
58 pub const UserName: Self = Self(6i32);
59 pub const PersonalFullName: Self = Self(7i32);
60 pub const PersonalNamePrefix: Self = Self(8i32);
61 pub const PersonalGivenName: Self = Self(9i32);
62 pub const PersonalMiddleName: Self = Self(10i32);
63 pub const PersonalSurname: Self = Self(11i32);
64 pub const PersonalNameSuffix: Self = Self(12i32);
65 pub const Address: Self = Self(13i32);
66 pub const AddressPostalCode: Self = Self(14i32);
67 pub const AddressStreet: Self = Self(15i32);
68 pub const AddressStateOrProvince: Self = Self(16i32);
69 pub const AddressCity: Self = Self(17i32);
70 pub const AddressCountryName: Self = Self(18i32);
71 pub const AddressCountryShortName: Self = Self(19i32);
72 pub const CurrencyAmountAndSymbol: Self = Self(20i32);
73 pub const CurrencyAmount: Self = Self(21i32);
74 pub const Date: Self = Self(22i32);
75 pub const DateMonth: Self = Self(23i32);
76 pub const DateDay: Self = Self(24i32);
77 pub const DateYear: Self = Self(25i32);
78 pub const DateMonthName: Self = Self(26i32);
79 pub const DateDayName: Self = Self(27i32);
80 pub const Number: Self = Self(29i32);
81 pub const SingleCharacter: Self = Self(30i32);
82 pub const Password: Self = Self(31i32);
83 pub const TelephoneNumber: Self = Self(32i32);
84 pub const TelephoneCountryCode: Self = Self(33i32);
85 pub const TelephoneAreaCode: Self = Self(34i32);
86 pub const TelephoneLocalNumber: Self = Self(35i32);
87 pub const Time: Self = Self(36i32);
88 pub const TimeHour: Self = Self(37i32);
89 pub const TimeMinuteOrSecond: Self = Self(38i32);
90 pub const NumberFullWidth: Self = Self(39i32);
91 pub const AlphanumericHalfWidth: Self = Self(40i32);
92 pub const AlphanumericFullWidth: Self = Self(41i32);
93 pub const CurrencyChinese: Self = Self(42i32);
94 pub const Bopomofo: Self = Self(43i32);
95 pub const Hiragana: Self = Self(44i32);
96 pub const KatakanaHalfWidth: Self = Self(45i32);
97 pub const KatakanaFullWidth: Self = Self(46i32);
98 pub const Hanja: Self = Self(47i32);
99 pub const HangulHalfWidth: Self = Self(48i32);
100 pub const HangulFullWidth: Self = Self(49i32);
101 pub const Search: Self = Self(50i32);
102 pub const Formula: Self = Self(51i32);
103 pub const SearchIncremental: Self = Self(52i32);
104 pub const ChineseHalfWidth: Self = Self(53i32);
105 pub const ChineseFullWidth: Self = Self(54i32);
106 pub const NativeScript: Self = Self(55i32);
107 pub const Text: Self = Self(57i32);
108 pub const Chat: Self = Self(58i32);
109 pub const NameOrPhoneNumber: Self = Self(59i32);
110 pub const EmailUserNameOrAddress: Self = Self(60i32);
111 pub const Private: Self = Self(61i32);
112 pub const Maps: Self = Self(62i32);
113 pub const PasswordNumeric: Self = Self(63i32);
114 pub const FormulaNumber: Self = Self(67i32);
115 pub const ChatWithoutEmoji: Self = Self(68i32);
116 pub const Digits: Self = Self(28i32);
117 pub const PinNumeric: Self = Self(64i32);
118 pub const PinAlphanumeric: Self = Self(65i32);
119}
120impl ::core::marker::Copy for CoreTextInputScope {}
121impl ::core::clone::Clone for CoreTextInputScope {
122 fn clone(&self) -> Self {
123 *self
124 }
125}
126pub type CoreTextLayoutBounds = *mut ::core::ffi::c_void;
127pub type CoreTextLayoutRequest = *mut ::core::ffi::c_void;
128pub type CoreTextLayoutRequestedEventArgs = *mut ::core::ffi::c_void;
129#[repr(C)]
04454e1e 130#[doc = "*Required features: `\"UI_Text_Core\"`*"]
5e7ed085
FG
131pub struct CoreTextRange {
132 pub StartCaretPosition: i32,
133 pub EndCaretPosition: i32,
134}
135impl ::core::marker::Copy for CoreTextRange {}
136impl ::core::clone::Clone for CoreTextRange {
137 fn clone(&self) -> Self {
138 *self
139 }
140}
141pub type CoreTextSelectionRequest = *mut ::core::ffi::c_void;
142pub type CoreTextSelectionRequestedEventArgs = *mut ::core::ffi::c_void;
143pub type CoreTextSelectionUpdatingEventArgs = *mut ::core::ffi::c_void;
04454e1e 144#[doc = "*Required features: `\"UI_Text_Core\"`*"]
5e7ed085
FG
145#[repr(transparent)]
146pub struct CoreTextSelectionUpdatingResult(pub i32);
147impl CoreTextSelectionUpdatingResult {
148 pub const Succeeded: Self = Self(0i32);
149 pub const Failed: Self = Self(1i32);
150}
151impl ::core::marker::Copy for CoreTextSelectionUpdatingResult {}
152impl ::core::clone::Clone for CoreTextSelectionUpdatingResult {
153 fn clone(&self) -> Self {
154 *self
155 }
156}
157pub type CoreTextServicesManager = *mut ::core::ffi::c_void;
158pub type CoreTextTextRequest = *mut ::core::ffi::c_void;
159pub type CoreTextTextRequestedEventArgs = *mut ::core::ffi::c_void;
160pub type CoreTextTextUpdatingEventArgs = *mut ::core::ffi::c_void;
04454e1e 161#[doc = "*Required features: `\"UI_Text_Core\"`*"]
5e7ed085
FG
162#[repr(transparent)]
163pub struct CoreTextTextUpdatingResult(pub i32);
164impl CoreTextTextUpdatingResult {
165 pub const Succeeded: Self = Self(0i32);
166 pub const Failed: Self = Self(1i32);
167}
168impl ::core::marker::Copy for CoreTextTextUpdatingResult {}
169impl ::core::clone::Clone for CoreTextTextUpdatingResult {
170 fn clone(&self) -> Self {
171 *self
172 }
173}