]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | pub type CoreTextCompositionCompletedEventArgs = *mut ::core::ffi::c_void; |
2 | pub type CoreTextCompositionSegment = *mut ::core::ffi::c_void; | |
3 | pub type CoreTextCompositionStartedEventArgs = *mut ::core::ffi::c_void; | |
4 | pub type CoreTextEditContext = *mut ::core::ffi::c_void; | |
5 | pub type CoreTextFormatUpdatingEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 6 | #[doc = "*Required features: `\"UI_Text_Core\"`*"] |
5e7ed085 FG |
7 | #[repr(transparent)] |
8 | pub struct CoreTextFormatUpdatingReason(pub i32); | |
9 | impl 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 | } | |
16 | impl ::core::marker::Copy for CoreTextFormatUpdatingReason {} | |
17 | impl ::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)] |
24 | pub struct CoreTextFormatUpdatingResult(pub i32); | |
25 | impl CoreTextFormatUpdatingResult { | |
26 | pub const Succeeded: Self = Self(0i32); | |
27 | pub const Failed: Self = Self(1i32); | |
28 | } | |
29 | impl ::core::marker::Copy for CoreTextFormatUpdatingResult {} | |
30 | impl ::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)] |
37 | pub struct CoreTextInputPaneDisplayPolicy(pub i32); | |
38 | impl CoreTextInputPaneDisplayPolicy { | |
39 | pub const Automatic: Self = Self(0i32); | |
40 | pub const Manual: Self = Self(1i32); | |
41 | } | |
42 | impl ::core::marker::Copy for CoreTextInputPaneDisplayPolicy {} | |
43 | impl ::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)] |
50 | pub struct CoreTextInputScope(pub i32); | |
51 | impl 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 | } | |
120 | impl ::core::marker::Copy for CoreTextInputScope {} | |
121 | impl ::core::clone::Clone for CoreTextInputScope { | |
122 | fn clone(&self) -> Self { | |
123 | *self | |
124 | } | |
125 | } | |
126 | pub type CoreTextLayoutBounds = *mut ::core::ffi::c_void; | |
127 | pub type CoreTextLayoutRequest = *mut ::core::ffi::c_void; | |
128 | pub type CoreTextLayoutRequestedEventArgs = *mut ::core::ffi::c_void; | |
129 | #[repr(C)] | |
04454e1e | 130 | #[doc = "*Required features: `\"UI_Text_Core\"`*"] |
5e7ed085 FG |
131 | pub struct CoreTextRange { |
132 | pub StartCaretPosition: i32, | |
133 | pub EndCaretPosition: i32, | |
134 | } | |
135 | impl ::core::marker::Copy for CoreTextRange {} | |
136 | impl ::core::clone::Clone for CoreTextRange { | |
137 | fn clone(&self) -> Self { | |
138 | *self | |
139 | } | |
140 | } | |
141 | pub type CoreTextSelectionRequest = *mut ::core::ffi::c_void; | |
142 | pub type CoreTextSelectionRequestedEventArgs = *mut ::core::ffi::c_void; | |
143 | pub type CoreTextSelectionUpdatingEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 144 | #[doc = "*Required features: `\"UI_Text_Core\"`*"] |
5e7ed085 FG |
145 | #[repr(transparent)] |
146 | pub struct CoreTextSelectionUpdatingResult(pub i32); | |
147 | impl CoreTextSelectionUpdatingResult { | |
148 | pub const Succeeded: Self = Self(0i32); | |
149 | pub const Failed: Self = Self(1i32); | |
150 | } | |
151 | impl ::core::marker::Copy for CoreTextSelectionUpdatingResult {} | |
152 | impl ::core::clone::Clone for CoreTextSelectionUpdatingResult { | |
153 | fn clone(&self) -> Self { | |
154 | *self | |
155 | } | |
156 | } | |
157 | pub type CoreTextServicesManager = *mut ::core::ffi::c_void; | |
158 | pub type CoreTextTextRequest = *mut ::core::ffi::c_void; | |
159 | pub type CoreTextTextRequestedEventArgs = *mut ::core::ffi::c_void; | |
160 | pub type CoreTextTextUpdatingEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 161 | #[doc = "*Required features: `\"UI_Text_Core\"`*"] |
5e7ed085 FG |
162 | #[repr(transparent)] |
163 | pub struct CoreTextTextUpdatingResult(pub i32); | |
164 | impl CoreTextTextUpdatingResult { | |
165 | pub const Succeeded: Self = Self(0i32); | |
166 | pub const Failed: Self = Self(1i32); | |
167 | } | |
168 | impl ::core::marker::Copy for CoreTextTextUpdatingResult {} | |
169 | impl ::core::clone::Clone for CoreTextTextUpdatingResult { | |
170 | fn clone(&self) -> Self { | |
171 | *self | |
172 | } | |
173 | } |