]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/UI/Text/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / UI / Text / mod.rs
CommitLineData
5e7ed085
FG
1#[cfg(feature = "UI_Text_Core")]
2pub mod Core;
04454e1e 3#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
4#[repr(transparent)]
5pub struct CaretType(pub i32);
6impl CaretType {
7 pub const Normal: Self = Self(0i32);
8 pub const Null: Self = Self(1i32);
9}
10impl ::core::marker::Copy for CaretType {}
11impl ::core::clone::Clone for CaretType {
12 fn clone(&self) -> Self {
13 *self
14 }
15}
16pub type ContentLinkInfo = *mut ::core::ffi::c_void;
04454e1e 17#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
18#[repr(transparent)]
19pub struct FindOptions(pub u32);
20impl FindOptions {
21 pub const None: Self = Self(0u32);
22 pub const Word: Self = Self(2u32);
23 pub const Case: Self = Self(4u32);
24}
25impl ::core::marker::Copy for FindOptions {}
26impl ::core::clone::Clone for FindOptions {
27 fn clone(&self) -> Self {
28 *self
29 }
30}
04454e1e 31#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
32#[repr(transparent)]
33pub struct FontStretch(pub i32);
34impl FontStretch {
35 pub const Undefined: Self = Self(0i32);
36 pub const UltraCondensed: Self = Self(1i32);
37 pub const ExtraCondensed: Self = Self(2i32);
38 pub const Condensed: Self = Self(3i32);
39 pub const SemiCondensed: Self = Self(4i32);
40 pub const Normal: Self = Self(5i32);
41 pub const SemiExpanded: Self = Self(6i32);
42 pub const Expanded: Self = Self(7i32);
43 pub const ExtraExpanded: Self = Self(8i32);
44 pub const UltraExpanded: Self = Self(9i32);
45}
46impl ::core::marker::Copy for FontStretch {}
47impl ::core::clone::Clone for FontStretch {
48 fn clone(&self) -> Self {
49 *self
50 }
51}
04454e1e 52#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
53#[repr(transparent)]
54pub struct FontStyle(pub i32);
55impl FontStyle {
56 pub const Normal: Self = Self(0i32);
57 pub const Oblique: Self = Self(1i32);
58 pub const Italic: Self = Self(2i32);
59}
60impl ::core::marker::Copy for FontStyle {}
61impl ::core::clone::Clone for FontStyle {
62 fn clone(&self) -> Self {
63 *self
64 }
65}
66#[repr(C)]
04454e1e 67#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
68pub struct FontWeight {
69 pub Weight: u16,
70}
71impl ::core::marker::Copy for FontWeight {}
72impl ::core::clone::Clone for FontWeight {
73 fn clone(&self) -> Self {
74 *self
75 }
76}
77pub type FontWeights = *mut ::core::ffi::c_void;
04454e1e 78#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
79#[repr(transparent)]
80pub struct FormatEffect(pub i32);
81impl FormatEffect {
82 pub const Off: Self = Self(0i32);
83 pub const On: Self = Self(1i32);
84 pub const Toggle: Self = Self(2i32);
85 pub const Undefined: Self = Self(3i32);
86}
87impl ::core::marker::Copy for FormatEffect {}
88impl ::core::clone::Clone for FormatEffect {
89 fn clone(&self) -> Self {
90 *self
91 }
92}
04454e1e 93#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
94#[repr(transparent)]
95pub struct HorizontalCharacterAlignment(pub i32);
96impl HorizontalCharacterAlignment {
97 pub const Left: Self = Self(0i32);
98 pub const Right: Self = Self(1i32);
99 pub const Center: Self = Self(2i32);
100}
101impl ::core::marker::Copy for HorizontalCharacterAlignment {}
102impl ::core::clone::Clone for HorizontalCharacterAlignment {
103 fn clone(&self) -> Self {
104 *self
105 }
106}
107pub type ITextCharacterFormat = *mut ::core::ffi::c_void;
108pub type ITextDocument = *mut ::core::ffi::c_void;
109pub type ITextParagraphFormat = *mut ::core::ffi::c_void;
110pub type ITextRange = *mut ::core::ffi::c_void;
111pub type ITextSelection = *mut ::core::ffi::c_void;
04454e1e 112#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
113#[repr(transparent)]
114pub struct LetterCase(pub i32);
115impl LetterCase {
116 pub const Lower: Self = Self(0i32);
117 pub const Upper: Self = Self(1i32);
118}
119impl ::core::marker::Copy for LetterCase {}
120impl ::core::clone::Clone for LetterCase {
121 fn clone(&self) -> Self {
122 *self
123 }
124}
04454e1e 125#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
126#[repr(transparent)]
127pub struct LineSpacingRule(pub i32);
128impl LineSpacingRule {
129 pub const Undefined: Self = Self(0i32);
130 pub const Single: Self = Self(1i32);
131 pub const OneAndHalf: Self = Self(2i32);
132 pub const Double: Self = Self(3i32);
133 pub const AtLeast: Self = Self(4i32);
134 pub const Exactly: Self = Self(5i32);
135 pub const Multiple: Self = Self(6i32);
136 pub const Percent: Self = Self(7i32);
137}
138impl ::core::marker::Copy for LineSpacingRule {}
139impl ::core::clone::Clone for LineSpacingRule {
140 fn clone(&self) -> Self {
141 *self
142 }
143}
04454e1e 144#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
145#[repr(transparent)]
146pub struct LinkType(pub i32);
147impl LinkType {
148 pub const Undefined: Self = Self(0i32);
149 pub const NotALink: Self = Self(1i32);
150 pub const ClientLink: Self = Self(2i32);
151 pub const FriendlyLinkName: Self = Self(3i32);
152 pub const FriendlyLinkAddress: Self = Self(4i32);
153 pub const AutoLink: Self = Self(5i32);
154 pub const AutoLinkEmail: Self = Self(6i32);
155 pub const AutoLinkPhone: Self = Self(7i32);
156 pub const AutoLinkPath: Self = Self(8i32);
157}
158impl ::core::marker::Copy for LinkType {}
159impl ::core::clone::Clone for LinkType {
160 fn clone(&self) -> Self {
161 *self
162 }
163}
04454e1e 164#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
165#[repr(transparent)]
166pub struct MarkerAlignment(pub i32);
167impl MarkerAlignment {
168 pub const Undefined: Self = Self(0i32);
169 pub const Left: Self = Self(1i32);
170 pub const Center: Self = Self(2i32);
171 pub const Right: Self = Self(3i32);
172}
173impl ::core::marker::Copy for MarkerAlignment {}
174impl ::core::clone::Clone for MarkerAlignment {
175 fn clone(&self) -> Self {
176 *self
177 }
178}
04454e1e 179#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
180#[repr(transparent)]
181pub struct MarkerStyle(pub i32);
182impl MarkerStyle {
183 pub const Undefined: Self = Self(0i32);
184 pub const Parenthesis: Self = Self(1i32);
185 pub const Parentheses: Self = Self(2i32);
186 pub const Period: Self = Self(3i32);
187 pub const Plain: Self = Self(4i32);
188 pub const Minus: Self = Self(5i32);
189 pub const NoNumber: Self = Self(6i32);
190}
191impl ::core::marker::Copy for MarkerStyle {}
192impl ::core::clone::Clone for MarkerStyle {
193 fn clone(&self) -> Self {
194 *self
195 }
196}
04454e1e 197#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
198#[repr(transparent)]
199pub struct MarkerType(pub i32);
200impl MarkerType {
201 pub const Undefined: Self = Self(0i32);
202 pub const None: Self = Self(1i32);
203 pub const Bullet: Self = Self(2i32);
204 pub const Arabic: Self = Self(3i32);
205 pub const LowercaseEnglishLetter: Self = Self(4i32);
206 pub const UppercaseEnglishLetter: Self = Self(5i32);
207 pub const LowercaseRoman: Self = Self(6i32);
208 pub const UppercaseRoman: Self = Self(7i32);
209 pub const UnicodeSequence: Self = Self(8i32);
210 pub const CircledNumber: Self = Self(9i32);
211 pub const BlackCircleWingding: Self = Self(10i32);
212 pub const WhiteCircleWingding: Self = Self(11i32);
213 pub const ArabicWide: Self = Self(12i32);
214 pub const SimplifiedChinese: Self = Self(13i32);
215 pub const TraditionalChinese: Self = Self(14i32);
216 pub const JapanSimplifiedChinese: Self = Self(15i32);
217 pub const JapanKorea: Self = Self(16i32);
218 pub const ArabicDictionary: Self = Self(17i32);
219 pub const ArabicAbjad: Self = Self(18i32);
220 pub const Hebrew: Self = Self(19i32);
221 pub const ThaiAlphabetic: Self = Self(20i32);
222 pub const ThaiNumeric: Self = Self(21i32);
223 pub const DevanagariVowel: Self = Self(22i32);
224 pub const DevanagariConsonant: Self = Self(23i32);
225 pub const DevanagariNumeric: Self = Self(24i32);
226}
227impl ::core::marker::Copy for MarkerType {}
228impl ::core::clone::Clone for MarkerType {
229 fn clone(&self) -> Self {
230 *self
231 }
232}
04454e1e 233#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
234#[repr(transparent)]
235pub struct ParagraphAlignment(pub i32);
236impl ParagraphAlignment {
237 pub const Undefined: Self = Self(0i32);
238 pub const Left: Self = Self(1i32);
239 pub const Center: Self = Self(2i32);
240 pub const Right: Self = Self(3i32);
241 pub const Justify: Self = Self(4i32);
242}
243impl ::core::marker::Copy for ParagraphAlignment {}
244impl ::core::clone::Clone for ParagraphAlignment {
245 fn clone(&self) -> Self {
246 *self
247 }
248}
04454e1e 249#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
250#[repr(transparent)]
251pub struct ParagraphStyle(pub i32);
252impl ParagraphStyle {
253 pub const Undefined: Self = Self(0i32);
254 pub const None: Self = Self(1i32);
255 pub const Normal: Self = Self(2i32);
256 pub const Heading1: Self = Self(3i32);
257 pub const Heading2: Self = Self(4i32);
258 pub const Heading3: Self = Self(5i32);
259 pub const Heading4: Self = Self(6i32);
260 pub const Heading5: Self = Self(7i32);
261 pub const Heading6: Self = Self(8i32);
262 pub const Heading7: Self = Self(9i32);
263 pub const Heading8: Self = Self(10i32);
264 pub const Heading9: Self = Self(11i32);
265}
266impl ::core::marker::Copy for ParagraphStyle {}
267impl ::core::clone::Clone for ParagraphStyle {
268 fn clone(&self) -> Self {
269 *self
270 }
271}
04454e1e 272#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
273#[repr(transparent)]
274pub struct PointOptions(pub u32);
275impl PointOptions {
276 pub const None: Self = Self(0u32);
277 pub const IncludeInset: Self = Self(1u32);
278 pub const Start: Self = Self(32u32);
279 pub const ClientCoordinates: Self = Self(256u32);
280 pub const AllowOffClient: Self = Self(512u32);
281 pub const Transform: Self = Self(1024u32);
282 pub const NoHorizontalScroll: Self = Self(65536u32);
283 pub const NoVerticalScroll: Self = Self(262144u32);
284}
285impl ::core::marker::Copy for PointOptions {}
286impl ::core::clone::Clone for PointOptions {
287 fn clone(&self) -> Self {
288 *self
289 }
290}
04454e1e 291#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
292#[repr(transparent)]
293pub struct RangeGravity(pub i32);
294impl RangeGravity {
295 pub const UIBehavior: Self = Self(0i32);
296 pub const Backward: Self = Self(1i32);
297 pub const Forward: Self = Self(2i32);
298 pub const Inward: Self = Self(3i32);
299 pub const Outward: Self = Self(4i32);
300}
301impl ::core::marker::Copy for RangeGravity {}
302impl ::core::clone::Clone for RangeGravity {
303 fn clone(&self) -> Self {
304 *self
305 }
306}
04454e1e 307#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
308#[repr(transparent)]
309pub struct RichEditMathMode(pub i32);
310impl RichEditMathMode {
311 pub const NoMath: Self = Self(0i32);
312 pub const MathOnly: Self = Self(1i32);
313}
314impl ::core::marker::Copy for RichEditMathMode {}
315impl ::core::clone::Clone for RichEditMathMode {
316 fn clone(&self) -> Self {
317 *self
318 }
319}
320pub type RichEditTextDocument = *mut ::core::ffi::c_void;
321pub type RichEditTextRange = *mut ::core::ffi::c_void;
04454e1e 322#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
323#[repr(transparent)]
324pub struct SelectionOptions(pub u32);
325impl SelectionOptions {
326 pub const StartActive: Self = Self(1u32);
327 pub const AtEndOfLine: Self = Self(2u32);
328 pub const Overtype: Self = Self(4u32);
329 pub const Active: Self = Self(8u32);
330 pub const Replace: Self = Self(16u32);
331}
332impl ::core::marker::Copy for SelectionOptions {}
333impl ::core::clone::Clone for SelectionOptions {
334 fn clone(&self) -> Self {
335 *self
336 }
337}
04454e1e 338#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
339#[repr(transparent)]
340pub struct SelectionType(pub i32);
341impl SelectionType {
342 pub const None: Self = Self(0i32);
343 pub const InsertionPoint: Self = Self(1i32);
344 pub const Normal: Self = Self(2i32);
345 pub const InlineShape: Self = Self(7i32);
346 pub const Shape: Self = Self(8i32);
347}
348impl ::core::marker::Copy for SelectionType {}
349impl ::core::clone::Clone for SelectionType {
350 fn clone(&self) -> Self {
351 *self
352 }
353}
04454e1e 354#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
355#[repr(transparent)]
356pub struct TabAlignment(pub i32);
357impl TabAlignment {
358 pub const Left: Self = Self(0i32);
359 pub const Center: Self = Self(1i32);
360 pub const Right: Self = Self(2i32);
361 pub const Decimal: Self = Self(3i32);
362 pub const Bar: Self = Self(4i32);
363}
364impl ::core::marker::Copy for TabAlignment {}
365impl ::core::clone::Clone for TabAlignment {
366 fn clone(&self) -> Self {
367 *self
368 }
369}
04454e1e 370#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
371#[repr(transparent)]
372pub struct TabLeader(pub i32);
373impl TabLeader {
374 pub const Spaces: Self = Self(0i32);
375 pub const Dots: Self = Self(1i32);
376 pub const Dashes: Self = Self(2i32);
377 pub const Lines: Self = Self(3i32);
378 pub const ThickLines: Self = Self(4i32);
379 pub const Equals: Self = Self(5i32);
380}
381impl ::core::marker::Copy for TabLeader {}
382impl ::core::clone::Clone for TabLeader {
383 fn clone(&self) -> Self {
384 *self
385 }
386}
04454e1e 387#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
388#[repr(transparent)]
389pub struct TextDecorations(pub u32);
390impl TextDecorations {
391 pub const None: Self = Self(0u32);
392 pub const Underline: Self = Self(1u32);
393 pub const Strikethrough: Self = Self(2u32);
394}
395impl ::core::marker::Copy for TextDecorations {}
396impl ::core::clone::Clone for TextDecorations {
397 fn clone(&self) -> Self {
398 *self
399 }
400}
04454e1e 401#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
402#[repr(transparent)]
403pub struct TextGetOptions(pub u32);
404impl TextGetOptions {
405 pub const None: Self = Self(0u32);
406 pub const AdjustCrlf: Self = Self(1u32);
407 pub const UseCrlf: Self = Self(2u32);
408 pub const UseObjectText: Self = Self(4u32);
409 pub const AllowFinalEop: Self = Self(8u32);
410 pub const NoHidden: Self = Self(32u32);
411 pub const IncludeNumbering: Self = Self(64u32);
412 pub const FormatRtf: Self = Self(8192u32);
413 pub const UseLf: Self = Self(16777216u32);
414}
415impl ::core::marker::Copy for TextGetOptions {}
416impl ::core::clone::Clone for TextGetOptions {
417 fn clone(&self) -> Self {
418 *self
419 }
420}
04454e1e 421#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
422#[repr(transparent)]
423pub struct TextRangeUnit(pub i32);
424impl TextRangeUnit {
425 pub const Character: Self = Self(0i32);
426 pub const Word: Self = Self(1i32);
427 pub const Sentence: Self = Self(2i32);
428 pub const Paragraph: Self = Self(3i32);
429 pub const Line: Self = Self(4i32);
430 pub const Story: Self = Self(5i32);
431 pub const Screen: Self = Self(6i32);
432 pub const Section: Self = Self(7i32);
433 pub const Window: Self = Self(8i32);
434 pub const CharacterFormat: Self = Self(9i32);
435 pub const ParagraphFormat: Self = Self(10i32);
436 pub const Object: Self = Self(11i32);
437 pub const HardParagraph: Self = Self(12i32);
438 pub const Cluster: Self = Self(13i32);
439 pub const Bold: Self = Self(14i32);
440 pub const Italic: Self = Self(15i32);
441 pub const Underline: Self = Self(16i32);
442 pub const Strikethrough: Self = Self(17i32);
443 pub const ProtectedText: Self = Self(18i32);
444 pub const Link: Self = Self(19i32);
445 pub const SmallCaps: Self = Self(20i32);
446 pub const AllCaps: Self = Self(21i32);
447 pub const Hidden: Self = Self(22i32);
448 pub const Outline: Self = Self(23i32);
449 pub const Shadow: Self = Self(24i32);
450 pub const Imprint: Self = Self(25i32);
451 pub const Disabled: Self = Self(26i32);
452 pub const Revised: Self = Self(27i32);
453 pub const Subscript: Self = Self(28i32);
454 pub const Superscript: Self = Self(29i32);
455 pub const FontBound: Self = Self(30i32);
456 pub const LinkProtected: Self = Self(31i32);
457 pub const ContentLink: Self = Self(32i32);
458}
459impl ::core::marker::Copy for TextRangeUnit {}
460impl ::core::clone::Clone for TextRangeUnit {
461 fn clone(&self) -> Self {
462 *self
463 }
464}
04454e1e 465#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
466#[repr(transparent)]
467pub struct TextScript(pub i32);
468impl TextScript {
469 pub const Undefined: Self = Self(0i32);
470 pub const Ansi: Self = Self(1i32);
471 pub const EastEurope: Self = Self(2i32);
472 pub const Cyrillic: Self = Self(3i32);
473 pub const Greek: Self = Self(4i32);
474 pub const Turkish: Self = Self(5i32);
475 pub const Hebrew: Self = Self(6i32);
476 pub const Arabic: Self = Self(7i32);
477 pub const Baltic: Self = Self(8i32);
478 pub const Vietnamese: Self = Self(9i32);
479 pub const Default: Self = Self(10i32);
480 pub const Symbol: Self = Self(11i32);
481 pub const Thai: Self = Self(12i32);
482 pub const ShiftJis: Self = Self(13i32);
483 pub const GB2312: Self = Self(14i32);
484 pub const Hangul: Self = Self(15i32);
485 pub const Big5: Self = Self(16i32);
486 pub const PC437: Self = Self(17i32);
487 pub const Oem: Self = Self(18i32);
488 pub const Mac: Self = Self(19i32);
489 pub const Armenian: Self = Self(20i32);
490 pub const Syriac: Self = Self(21i32);
491 pub const Thaana: Self = Self(22i32);
492 pub const Devanagari: Self = Self(23i32);
493 pub const Bengali: Self = Self(24i32);
494 pub const Gurmukhi: Self = Self(25i32);
495 pub const Gujarati: Self = Self(26i32);
496 pub const Oriya: Self = Self(27i32);
497 pub const Tamil: Self = Self(28i32);
498 pub const Telugu: Self = Self(29i32);
499 pub const Kannada: Self = Self(30i32);
500 pub const Malayalam: Self = Self(31i32);
501 pub const Sinhala: Self = Self(32i32);
502 pub const Lao: Self = Self(33i32);
503 pub const Tibetan: Self = Self(34i32);
504 pub const Myanmar: Self = Self(35i32);
505 pub const Georgian: Self = Self(36i32);
506 pub const Jamo: Self = Self(37i32);
507 pub const Ethiopic: Self = Self(38i32);
508 pub const Cherokee: Self = Self(39i32);
509 pub const Aboriginal: Self = Self(40i32);
510 pub const Ogham: Self = Self(41i32);
511 pub const Runic: Self = Self(42i32);
512 pub const Khmer: Self = Self(43i32);
513 pub const Mongolian: Self = Self(44i32);
514 pub const Braille: Self = Self(45i32);
515 pub const Yi: Self = Self(46i32);
516 pub const Limbu: Self = Self(47i32);
517 pub const TaiLe: Self = Self(48i32);
518 pub const NewTaiLue: Self = Self(49i32);
519 pub const SylotiNagri: Self = Self(50i32);
520 pub const Kharoshthi: Self = Self(51i32);
521 pub const Kayahli: Self = Self(52i32);
522 pub const UnicodeSymbol: Self = Self(53i32);
523 pub const Emoji: Self = Self(54i32);
524 pub const Glagolitic: Self = Self(55i32);
525 pub const Lisu: Self = Self(56i32);
526 pub const Vai: Self = Self(57i32);
527 pub const NKo: Self = Self(58i32);
528 pub const Osmanya: Self = Self(59i32);
529 pub const PhagsPa: Self = Self(60i32);
530 pub const Gothic: Self = Self(61i32);
531 pub const Deseret: Self = Self(62i32);
532 pub const Tifinagh: Self = Self(63i32);
533}
534impl ::core::marker::Copy for TextScript {}
535impl ::core::clone::Clone for TextScript {
536 fn clone(&self) -> Self {
537 *self
538 }
539}
04454e1e 540#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
541#[repr(transparent)]
542pub struct TextSetOptions(pub u32);
543impl TextSetOptions {
544 pub const None: Self = Self(0u32);
545 pub const UnicodeBidi: Self = Self(1u32);
546 pub const Unlink: Self = Self(8u32);
547 pub const Unhide: Self = Self(16u32);
548 pub const CheckTextLimit: Self = Self(32u32);
549 pub const FormatRtf: Self = Self(8192u32);
550 pub const ApplyRtfDocumentDefaults: Self = Self(16384u32);
551}
552impl ::core::marker::Copy for TextSetOptions {}
553impl ::core::clone::Clone for TextSetOptions {
554 fn clone(&self) -> Self {
555 *self
556 }
557}
04454e1e 558#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
559#[repr(transparent)]
560pub struct UnderlineType(pub i32);
561impl UnderlineType {
562 pub const Undefined: Self = Self(0i32);
563 pub const None: Self = Self(1i32);
564 pub const Single: Self = Self(2i32);
565 pub const Words: Self = Self(3i32);
566 pub const Double: Self = Self(4i32);
567 pub const Dotted: Self = Self(5i32);
568 pub const Dash: Self = Self(6i32);
569 pub const DashDot: Self = Self(7i32);
570 pub const DashDotDot: Self = Self(8i32);
571 pub const Wave: Self = Self(9i32);
572 pub const Thick: Self = Self(10i32);
573 pub const Thin: Self = Self(11i32);
574 pub const DoubleWave: Self = Self(12i32);
575 pub const HeavyWave: Self = Self(13i32);
576 pub const LongDash: Self = Self(14i32);
577 pub const ThickDash: Self = Self(15i32);
578 pub const ThickDashDot: Self = Self(16i32);
579 pub const ThickDashDotDot: Self = Self(17i32);
580 pub const ThickDotted: Self = Self(18i32);
581 pub const ThickLongDash: Self = Self(19i32);
582}
583impl ::core::marker::Copy for UnderlineType {}
584impl ::core::clone::Clone for UnderlineType {
585 fn clone(&self) -> Self {
586 *self
587 }
588}
04454e1e 589#[doc = "*Required features: `\"UI_Text\"`*"]
5e7ed085
FG
590#[repr(transparent)]
591pub struct VerticalCharacterAlignment(pub i32);
592impl VerticalCharacterAlignment {
593 pub const Top: Self = Self(0i32);
594 pub const Baseline: Self = Self(1i32);
595 pub const Bottom: Self = Self(2i32);
596}
597impl ::core::marker::Copy for VerticalCharacterAlignment {}
598impl ::core::clone::Clone for VerticalCharacterAlignment {
599 fn clone(&self) -> Self {
600 *self
601 }
602}