summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/UI/Text
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/UI/Text
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/UI/Text')
-rw-r--r--vendor/windows-sys/src/Windows/UI/Text/Core/mod.rs173
-rw-r--r--vendor/windows-sys/src/Windows/UI/Text/mod.rs602
2 files changed, 775 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/UI/Text/Core/mod.rs b/vendor/windows-sys/src/Windows/UI/Text/Core/mod.rs
new file mode 100644
index 000000000..75f5cdd7a
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Text/Core/mod.rs
@@ -0,0 +1,173 @@
+pub type CoreTextCompositionCompletedEventArgs = *mut ::core::ffi::c_void;
+pub type CoreTextCompositionSegment = *mut ::core::ffi::c_void;
+pub type CoreTextCompositionStartedEventArgs = *mut ::core::ffi::c_void;
+pub type CoreTextEditContext = *mut ::core::ffi::c_void;
+pub type CoreTextFormatUpdatingEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Text_Core\"`*"]
+#[repr(transparent)]
+pub struct CoreTextFormatUpdatingReason(pub i32);
+impl CoreTextFormatUpdatingReason {
+ pub const None: Self = Self(0i32);
+ pub const CompositionUnconverted: Self = Self(1i32);
+ pub const CompositionConverted: Self = Self(2i32);
+ pub const CompositionTargetUnconverted: Self = Self(3i32);
+ pub const CompositionTargetConverted: Self = Self(4i32);
+}
+impl ::core::marker::Copy for CoreTextFormatUpdatingReason {}
+impl ::core::clone::Clone for CoreTextFormatUpdatingReason {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text_Core\"`*"]
+#[repr(transparent)]
+pub struct CoreTextFormatUpdatingResult(pub i32);
+impl CoreTextFormatUpdatingResult {
+ pub const Succeeded: Self = Self(0i32);
+ pub const Failed: Self = Self(1i32);
+}
+impl ::core::marker::Copy for CoreTextFormatUpdatingResult {}
+impl ::core::clone::Clone for CoreTextFormatUpdatingResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text_Core\"`*"]
+#[repr(transparent)]
+pub struct CoreTextInputPaneDisplayPolicy(pub i32);
+impl CoreTextInputPaneDisplayPolicy {
+ pub const Automatic: Self = Self(0i32);
+ pub const Manual: Self = Self(1i32);
+}
+impl ::core::marker::Copy for CoreTextInputPaneDisplayPolicy {}
+impl ::core::clone::Clone for CoreTextInputPaneDisplayPolicy {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text_Core\"`*"]
+#[repr(transparent)]
+pub struct CoreTextInputScope(pub i32);
+impl CoreTextInputScope {
+ pub const Default: Self = Self(0i32);
+ pub const Url: Self = Self(1i32);
+ pub const FilePath: Self = Self(2i32);
+ pub const FileName: Self = Self(3i32);
+ pub const EmailUserName: Self = Self(4i32);
+ pub const EmailAddress: Self = Self(5i32);
+ pub const UserName: Self = Self(6i32);
+ pub const PersonalFullName: Self = Self(7i32);
+ pub const PersonalNamePrefix: Self = Self(8i32);
+ pub const PersonalGivenName: Self = Self(9i32);
+ pub const PersonalMiddleName: Self = Self(10i32);
+ pub const PersonalSurname: Self = Self(11i32);
+ pub const PersonalNameSuffix: Self = Self(12i32);
+ pub const Address: Self = Self(13i32);
+ pub const AddressPostalCode: Self = Self(14i32);
+ pub const AddressStreet: Self = Self(15i32);
+ pub const AddressStateOrProvince: Self = Self(16i32);
+ pub const AddressCity: Self = Self(17i32);
+ pub const AddressCountryName: Self = Self(18i32);
+ pub const AddressCountryShortName: Self = Self(19i32);
+ pub const CurrencyAmountAndSymbol: Self = Self(20i32);
+ pub const CurrencyAmount: Self = Self(21i32);
+ pub const Date: Self = Self(22i32);
+ pub const DateMonth: Self = Self(23i32);
+ pub const DateDay: Self = Self(24i32);
+ pub const DateYear: Self = Self(25i32);
+ pub const DateMonthName: Self = Self(26i32);
+ pub const DateDayName: Self = Self(27i32);
+ pub const Number: Self = Self(29i32);
+ pub const SingleCharacter: Self = Self(30i32);
+ pub const Password: Self = Self(31i32);
+ pub const TelephoneNumber: Self = Self(32i32);
+ pub const TelephoneCountryCode: Self = Self(33i32);
+ pub const TelephoneAreaCode: Self = Self(34i32);
+ pub const TelephoneLocalNumber: Self = Self(35i32);
+ pub const Time: Self = Self(36i32);
+ pub const TimeHour: Self = Self(37i32);
+ pub const TimeMinuteOrSecond: Self = Self(38i32);
+ pub const NumberFullWidth: Self = Self(39i32);
+ pub const AlphanumericHalfWidth: Self = Self(40i32);
+ pub const AlphanumericFullWidth: Self = Self(41i32);
+ pub const CurrencyChinese: Self = Self(42i32);
+ pub const Bopomofo: Self = Self(43i32);
+ pub const Hiragana: Self = Self(44i32);
+ pub const KatakanaHalfWidth: Self = Self(45i32);
+ pub const KatakanaFullWidth: Self = Self(46i32);
+ pub const Hanja: Self = Self(47i32);
+ pub const HangulHalfWidth: Self = Self(48i32);
+ pub const HangulFullWidth: Self = Self(49i32);
+ pub const Search: Self = Self(50i32);
+ pub const Formula: Self = Self(51i32);
+ pub const SearchIncremental: Self = Self(52i32);
+ pub const ChineseHalfWidth: Self = Self(53i32);
+ pub const ChineseFullWidth: Self = Self(54i32);
+ pub const NativeScript: Self = Self(55i32);
+ pub const Text: Self = Self(57i32);
+ pub const Chat: Self = Self(58i32);
+ pub const NameOrPhoneNumber: Self = Self(59i32);
+ pub const EmailUserNameOrAddress: Self = Self(60i32);
+ pub const Private: Self = Self(61i32);
+ pub const Maps: Self = Self(62i32);
+ pub const PasswordNumeric: Self = Self(63i32);
+ pub const FormulaNumber: Self = Self(67i32);
+ pub const ChatWithoutEmoji: Self = Self(68i32);
+ pub const Digits: Self = Self(28i32);
+ pub const PinNumeric: Self = Self(64i32);
+ pub const PinAlphanumeric: Self = Self(65i32);
+}
+impl ::core::marker::Copy for CoreTextInputScope {}
+impl ::core::clone::Clone for CoreTextInputScope {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CoreTextLayoutBounds = *mut ::core::ffi::c_void;
+pub type CoreTextLayoutRequest = *mut ::core::ffi::c_void;
+pub type CoreTextLayoutRequestedEventArgs = *mut ::core::ffi::c_void;
+#[repr(C)]
+#[doc = "*Required features: `\"UI_Text_Core\"`*"]
+pub struct CoreTextRange {
+ pub StartCaretPosition: i32,
+ pub EndCaretPosition: i32,
+}
+impl ::core::marker::Copy for CoreTextRange {}
+impl ::core::clone::Clone for CoreTextRange {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CoreTextSelectionRequest = *mut ::core::ffi::c_void;
+pub type CoreTextSelectionRequestedEventArgs = *mut ::core::ffi::c_void;
+pub type CoreTextSelectionUpdatingEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Text_Core\"`*"]
+#[repr(transparent)]
+pub struct CoreTextSelectionUpdatingResult(pub i32);
+impl CoreTextSelectionUpdatingResult {
+ pub const Succeeded: Self = Self(0i32);
+ pub const Failed: Self = Self(1i32);
+}
+impl ::core::marker::Copy for CoreTextSelectionUpdatingResult {}
+impl ::core::clone::Clone for CoreTextSelectionUpdatingResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CoreTextServicesManager = *mut ::core::ffi::c_void;
+pub type CoreTextTextRequest = *mut ::core::ffi::c_void;
+pub type CoreTextTextRequestedEventArgs = *mut ::core::ffi::c_void;
+pub type CoreTextTextUpdatingEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Text_Core\"`*"]
+#[repr(transparent)]
+pub struct CoreTextTextUpdatingResult(pub i32);
+impl CoreTextTextUpdatingResult {
+ pub const Succeeded: Self = Self(0i32);
+ pub const Failed: Self = Self(1i32);
+}
+impl ::core::marker::Copy for CoreTextTextUpdatingResult {}
+impl ::core::clone::Clone for CoreTextTextUpdatingResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/UI/Text/mod.rs b/vendor/windows-sys/src/Windows/UI/Text/mod.rs
new file mode 100644
index 000000000..ecc1d5ce3
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Text/mod.rs
@@ -0,0 +1,602 @@
+#[cfg(feature = "UI_Text_Core")]
+pub mod Core;
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct CaretType(pub i32);
+impl CaretType {
+ pub const Normal: Self = Self(0i32);
+ pub const Null: Self = Self(1i32);
+}
+impl ::core::marker::Copy for CaretType {}
+impl ::core::clone::Clone for CaretType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ContentLinkInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct FindOptions(pub u32);
+impl FindOptions {
+ pub const None: Self = Self(0u32);
+ pub const Word: Self = Self(2u32);
+ pub const Case: Self = Self(4u32);
+}
+impl ::core::marker::Copy for FindOptions {}
+impl ::core::clone::Clone for FindOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct FontStretch(pub i32);
+impl FontStretch {
+ pub const Undefined: Self = Self(0i32);
+ pub const UltraCondensed: Self = Self(1i32);
+ pub const ExtraCondensed: Self = Self(2i32);
+ pub const Condensed: Self = Self(3i32);
+ pub const SemiCondensed: Self = Self(4i32);
+ pub const Normal: Self = Self(5i32);
+ pub const SemiExpanded: Self = Self(6i32);
+ pub const Expanded: Self = Self(7i32);
+ pub const ExtraExpanded: Self = Self(8i32);
+ pub const UltraExpanded: Self = Self(9i32);
+}
+impl ::core::marker::Copy for FontStretch {}
+impl ::core::clone::Clone for FontStretch {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct FontStyle(pub i32);
+impl FontStyle {
+ pub const Normal: Self = Self(0i32);
+ pub const Oblique: Self = Self(1i32);
+ pub const Italic: Self = Self(2i32);
+}
+impl ::core::marker::Copy for FontStyle {}
+impl ::core::clone::Clone for FontStyle {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"UI_Text\"`*"]
+pub struct FontWeight {
+ pub Weight: u16,
+}
+impl ::core::marker::Copy for FontWeight {}
+impl ::core::clone::Clone for FontWeight {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type FontWeights = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct FormatEffect(pub i32);
+impl FormatEffect {
+ pub const Off: Self = Self(0i32);
+ pub const On: Self = Self(1i32);
+ pub const Toggle: Self = Self(2i32);
+ pub const Undefined: Self = Self(3i32);
+}
+impl ::core::marker::Copy for FormatEffect {}
+impl ::core::clone::Clone for FormatEffect {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct HorizontalCharacterAlignment(pub i32);
+impl HorizontalCharacterAlignment {
+ pub const Left: Self = Self(0i32);
+ pub const Right: Self = Self(1i32);
+ pub const Center: Self = Self(2i32);
+}
+impl ::core::marker::Copy for HorizontalCharacterAlignment {}
+impl ::core::clone::Clone for HorizontalCharacterAlignment {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ITextCharacterFormat = *mut ::core::ffi::c_void;
+pub type ITextDocument = *mut ::core::ffi::c_void;
+pub type ITextParagraphFormat = *mut ::core::ffi::c_void;
+pub type ITextRange = *mut ::core::ffi::c_void;
+pub type ITextSelection = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct LetterCase(pub i32);
+impl LetterCase {
+ pub const Lower: Self = Self(0i32);
+ pub const Upper: Self = Self(1i32);
+}
+impl ::core::marker::Copy for LetterCase {}
+impl ::core::clone::Clone for LetterCase {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct LineSpacingRule(pub i32);
+impl LineSpacingRule {
+ pub const Undefined: Self = Self(0i32);
+ pub const Single: Self = Self(1i32);
+ pub const OneAndHalf: Self = Self(2i32);
+ pub const Double: Self = Self(3i32);
+ pub const AtLeast: Self = Self(4i32);
+ pub const Exactly: Self = Self(5i32);
+ pub const Multiple: Self = Self(6i32);
+ pub const Percent: Self = Self(7i32);
+}
+impl ::core::marker::Copy for LineSpacingRule {}
+impl ::core::clone::Clone for LineSpacingRule {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct LinkType(pub i32);
+impl LinkType {
+ pub const Undefined: Self = Self(0i32);
+ pub const NotALink: Self = Self(1i32);
+ pub const ClientLink: Self = Self(2i32);
+ pub const FriendlyLinkName: Self = Self(3i32);
+ pub const FriendlyLinkAddress: Self = Self(4i32);
+ pub const AutoLink: Self = Self(5i32);
+ pub const AutoLinkEmail: Self = Self(6i32);
+ pub const AutoLinkPhone: Self = Self(7i32);
+ pub const AutoLinkPath: Self = Self(8i32);
+}
+impl ::core::marker::Copy for LinkType {}
+impl ::core::clone::Clone for LinkType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct MarkerAlignment(pub i32);
+impl MarkerAlignment {
+ pub const Undefined: Self = Self(0i32);
+ pub const Left: Self = Self(1i32);
+ pub const Center: Self = Self(2i32);
+ pub const Right: Self = Self(3i32);
+}
+impl ::core::marker::Copy for MarkerAlignment {}
+impl ::core::clone::Clone for MarkerAlignment {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct MarkerStyle(pub i32);
+impl MarkerStyle {
+ pub const Undefined: Self = Self(0i32);
+ pub const Parenthesis: Self = Self(1i32);
+ pub const Parentheses: Self = Self(2i32);
+ pub const Period: Self = Self(3i32);
+ pub const Plain: Self = Self(4i32);
+ pub const Minus: Self = Self(5i32);
+ pub const NoNumber: Self = Self(6i32);
+}
+impl ::core::marker::Copy for MarkerStyle {}
+impl ::core::clone::Clone for MarkerStyle {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct MarkerType(pub i32);
+impl MarkerType {
+ pub const Undefined: Self = Self(0i32);
+ pub const None: Self = Self(1i32);
+ pub const Bullet: Self = Self(2i32);
+ pub const Arabic: Self = Self(3i32);
+ pub const LowercaseEnglishLetter: Self = Self(4i32);
+ pub const UppercaseEnglishLetter: Self = Self(5i32);
+ pub const LowercaseRoman: Self = Self(6i32);
+ pub const UppercaseRoman: Self = Self(7i32);
+ pub const UnicodeSequence: Self = Self(8i32);
+ pub const CircledNumber: Self = Self(9i32);
+ pub const BlackCircleWingding: Self = Self(10i32);
+ pub const WhiteCircleWingding: Self = Self(11i32);
+ pub const ArabicWide: Self = Self(12i32);
+ pub const SimplifiedChinese: Self = Self(13i32);
+ pub const TraditionalChinese: Self = Self(14i32);
+ pub const JapanSimplifiedChinese: Self = Self(15i32);
+ pub const JapanKorea: Self = Self(16i32);
+ pub const ArabicDictionary: Self = Self(17i32);
+ pub const ArabicAbjad: Self = Self(18i32);
+ pub const Hebrew: Self = Self(19i32);
+ pub const ThaiAlphabetic: Self = Self(20i32);
+ pub const ThaiNumeric: Self = Self(21i32);
+ pub const DevanagariVowel: Self = Self(22i32);
+ pub const DevanagariConsonant: Self = Self(23i32);
+ pub const DevanagariNumeric: Self = Self(24i32);
+}
+impl ::core::marker::Copy for MarkerType {}
+impl ::core::clone::Clone for MarkerType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct ParagraphAlignment(pub i32);
+impl ParagraphAlignment {
+ pub const Undefined: Self = Self(0i32);
+ pub const Left: Self = Self(1i32);
+ pub const Center: Self = Self(2i32);
+ pub const Right: Self = Self(3i32);
+ pub const Justify: Self = Self(4i32);
+}
+impl ::core::marker::Copy for ParagraphAlignment {}
+impl ::core::clone::Clone for ParagraphAlignment {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct ParagraphStyle(pub i32);
+impl ParagraphStyle {
+ pub const Undefined: Self = Self(0i32);
+ pub const None: Self = Self(1i32);
+ pub const Normal: Self = Self(2i32);
+ pub const Heading1: Self = Self(3i32);
+ pub const Heading2: Self = Self(4i32);
+ pub const Heading3: Self = Self(5i32);
+ pub const Heading4: Self = Self(6i32);
+ pub const Heading5: Self = Self(7i32);
+ pub const Heading6: Self = Self(8i32);
+ pub const Heading7: Self = Self(9i32);
+ pub const Heading8: Self = Self(10i32);
+ pub const Heading9: Self = Self(11i32);
+}
+impl ::core::marker::Copy for ParagraphStyle {}
+impl ::core::clone::Clone for ParagraphStyle {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct PointOptions(pub u32);
+impl PointOptions {
+ pub const None: Self = Self(0u32);
+ pub const IncludeInset: Self = Self(1u32);
+ pub const Start: Self = Self(32u32);
+ pub const ClientCoordinates: Self = Self(256u32);
+ pub const AllowOffClient: Self = Self(512u32);
+ pub const Transform: Self = Self(1024u32);
+ pub const NoHorizontalScroll: Self = Self(65536u32);
+ pub const NoVerticalScroll: Self = Self(262144u32);
+}
+impl ::core::marker::Copy for PointOptions {}
+impl ::core::clone::Clone for PointOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct RangeGravity(pub i32);
+impl RangeGravity {
+ pub const UIBehavior: Self = Self(0i32);
+ pub const Backward: Self = Self(1i32);
+ pub const Forward: Self = Self(2i32);
+ pub const Inward: Self = Self(3i32);
+ pub const Outward: Self = Self(4i32);
+}
+impl ::core::marker::Copy for RangeGravity {}
+impl ::core::clone::Clone for RangeGravity {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct RichEditMathMode(pub i32);
+impl RichEditMathMode {
+ pub const NoMath: Self = Self(0i32);
+ pub const MathOnly: Self = Self(1i32);
+}
+impl ::core::marker::Copy for RichEditMathMode {}
+impl ::core::clone::Clone for RichEditMathMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RichEditTextDocument = *mut ::core::ffi::c_void;
+pub type RichEditTextRange = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct SelectionOptions(pub u32);
+impl SelectionOptions {
+ pub const StartActive: Self = Self(1u32);
+ pub const AtEndOfLine: Self = Self(2u32);
+ pub const Overtype: Self = Self(4u32);
+ pub const Active: Self = Self(8u32);
+ pub const Replace: Self = Self(16u32);
+}
+impl ::core::marker::Copy for SelectionOptions {}
+impl ::core::clone::Clone for SelectionOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct SelectionType(pub i32);
+impl SelectionType {
+ pub const None: Self = Self(0i32);
+ pub const InsertionPoint: Self = Self(1i32);
+ pub const Normal: Self = Self(2i32);
+ pub const InlineShape: Self = Self(7i32);
+ pub const Shape: Self = Self(8i32);
+}
+impl ::core::marker::Copy for SelectionType {}
+impl ::core::clone::Clone for SelectionType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct TabAlignment(pub i32);
+impl TabAlignment {
+ pub const Left: Self = Self(0i32);
+ pub const Center: Self = Self(1i32);
+ pub const Right: Self = Self(2i32);
+ pub const Decimal: Self = Self(3i32);
+ pub const Bar: Self = Self(4i32);
+}
+impl ::core::marker::Copy for TabAlignment {}
+impl ::core::clone::Clone for TabAlignment {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct TabLeader(pub i32);
+impl TabLeader {
+ pub const Spaces: Self = Self(0i32);
+ pub const Dots: Self = Self(1i32);
+ pub const Dashes: Self = Self(2i32);
+ pub const Lines: Self = Self(3i32);
+ pub const ThickLines: Self = Self(4i32);
+ pub const Equals: Self = Self(5i32);
+}
+impl ::core::marker::Copy for TabLeader {}
+impl ::core::clone::Clone for TabLeader {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct TextDecorations(pub u32);
+impl TextDecorations {
+ pub const None: Self = Self(0u32);
+ pub const Underline: Self = Self(1u32);
+ pub const Strikethrough: Self = Self(2u32);
+}
+impl ::core::marker::Copy for TextDecorations {}
+impl ::core::clone::Clone for TextDecorations {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct TextGetOptions(pub u32);
+impl TextGetOptions {
+ pub const None: Self = Self(0u32);
+ pub const AdjustCrlf: Self = Self(1u32);
+ pub const UseCrlf: Self = Self(2u32);
+ pub const UseObjectText: Self = Self(4u32);
+ pub const AllowFinalEop: Self = Self(8u32);
+ pub const NoHidden: Self = Self(32u32);
+ pub const IncludeNumbering: Self = Self(64u32);
+ pub const FormatRtf: Self = Self(8192u32);
+ pub const UseLf: Self = Self(16777216u32);
+}
+impl ::core::marker::Copy for TextGetOptions {}
+impl ::core::clone::Clone for TextGetOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct TextRangeUnit(pub i32);
+impl TextRangeUnit {
+ pub const Character: Self = Self(0i32);
+ pub const Word: Self = Self(1i32);
+ pub const Sentence: Self = Self(2i32);
+ pub const Paragraph: Self = Self(3i32);
+ pub const Line: Self = Self(4i32);
+ pub const Story: Self = Self(5i32);
+ pub const Screen: Self = Self(6i32);
+ pub const Section: Self = Self(7i32);
+ pub const Window: Self = Self(8i32);
+ pub const CharacterFormat: Self = Self(9i32);
+ pub const ParagraphFormat: Self = Self(10i32);
+ pub const Object: Self = Self(11i32);
+ pub const HardParagraph: Self = Self(12i32);
+ pub const Cluster: Self = Self(13i32);
+ pub const Bold: Self = Self(14i32);
+ pub const Italic: Self = Self(15i32);
+ pub const Underline: Self = Self(16i32);
+ pub const Strikethrough: Self = Self(17i32);
+ pub const ProtectedText: Self = Self(18i32);
+ pub const Link: Self = Self(19i32);
+ pub const SmallCaps: Self = Self(20i32);
+ pub const AllCaps: Self = Self(21i32);
+ pub const Hidden: Self = Self(22i32);
+ pub const Outline: Self = Self(23i32);
+ pub const Shadow: Self = Self(24i32);
+ pub const Imprint: Self = Self(25i32);
+ pub const Disabled: Self = Self(26i32);
+ pub const Revised: Self = Self(27i32);
+ pub const Subscript: Self = Self(28i32);
+ pub const Superscript: Self = Self(29i32);
+ pub const FontBound: Self = Self(30i32);
+ pub const LinkProtected: Self = Self(31i32);
+ pub const ContentLink: Self = Self(32i32);
+}
+impl ::core::marker::Copy for TextRangeUnit {}
+impl ::core::clone::Clone for TextRangeUnit {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct TextScript(pub i32);
+impl TextScript {
+ pub const Undefined: Self = Self(0i32);
+ pub const Ansi: Self = Self(1i32);
+ pub const EastEurope: Self = Self(2i32);
+ pub const Cyrillic: Self = Self(3i32);
+ pub const Greek: Self = Self(4i32);
+ pub const Turkish: Self = Self(5i32);
+ pub const Hebrew: Self = Self(6i32);
+ pub const Arabic: Self = Self(7i32);
+ pub const Baltic: Self = Self(8i32);
+ pub const Vietnamese: Self = Self(9i32);
+ pub const Default: Self = Self(10i32);
+ pub const Symbol: Self = Self(11i32);
+ pub const Thai: Self = Self(12i32);
+ pub const ShiftJis: Self = Self(13i32);
+ pub const GB2312: Self = Self(14i32);
+ pub const Hangul: Self = Self(15i32);
+ pub const Big5: Self = Self(16i32);
+ pub const PC437: Self = Self(17i32);
+ pub const Oem: Self = Self(18i32);
+ pub const Mac: Self = Self(19i32);
+ pub const Armenian: Self = Self(20i32);
+ pub const Syriac: Self = Self(21i32);
+ pub const Thaana: Self = Self(22i32);
+ pub const Devanagari: Self = Self(23i32);
+ pub const Bengali: Self = Self(24i32);
+ pub const Gurmukhi: Self = Self(25i32);
+ pub const Gujarati: Self = Self(26i32);
+ pub const Oriya: Self = Self(27i32);
+ pub const Tamil: Self = Self(28i32);
+ pub const Telugu: Self = Self(29i32);
+ pub const Kannada: Self = Self(30i32);
+ pub const Malayalam: Self = Self(31i32);
+ pub const Sinhala: Self = Self(32i32);
+ pub const Lao: Self = Self(33i32);
+ pub const Tibetan: Self = Self(34i32);
+ pub const Myanmar: Self = Self(35i32);
+ pub const Georgian: Self = Self(36i32);
+ pub const Jamo: Self = Self(37i32);
+ pub const Ethiopic: Self = Self(38i32);
+ pub const Cherokee: Self = Self(39i32);
+ pub const Aboriginal: Self = Self(40i32);
+ pub const Ogham: Self = Self(41i32);
+ pub const Runic: Self = Self(42i32);
+ pub const Khmer: Self = Self(43i32);
+ pub const Mongolian: Self = Self(44i32);
+ pub const Braille: Self = Self(45i32);
+ pub const Yi: Self = Self(46i32);
+ pub const Limbu: Self = Self(47i32);
+ pub const TaiLe: Self = Self(48i32);
+ pub const NewTaiLue: Self = Self(49i32);
+ pub const SylotiNagri: Self = Self(50i32);
+ pub const Kharoshthi: Self = Self(51i32);
+ pub const Kayahli: Self = Self(52i32);
+ pub const UnicodeSymbol: Self = Self(53i32);
+ pub const Emoji: Self = Self(54i32);
+ pub const Glagolitic: Self = Self(55i32);
+ pub const Lisu: Self = Self(56i32);
+ pub const Vai: Self = Self(57i32);
+ pub const NKo: Self = Self(58i32);
+ pub const Osmanya: Self = Self(59i32);
+ pub const PhagsPa: Self = Self(60i32);
+ pub const Gothic: Self = Self(61i32);
+ pub const Deseret: Self = Self(62i32);
+ pub const Tifinagh: Self = Self(63i32);
+}
+impl ::core::marker::Copy for TextScript {}
+impl ::core::clone::Clone for TextScript {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct TextSetOptions(pub u32);
+impl TextSetOptions {
+ pub const None: Self = Self(0u32);
+ pub const UnicodeBidi: Self = Self(1u32);
+ pub const Unlink: Self = Self(8u32);
+ pub const Unhide: Self = Self(16u32);
+ pub const CheckTextLimit: Self = Self(32u32);
+ pub const FormatRtf: Self = Self(8192u32);
+ pub const ApplyRtfDocumentDefaults: Self = Self(16384u32);
+}
+impl ::core::marker::Copy for TextSetOptions {}
+impl ::core::clone::Clone for TextSetOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct UnderlineType(pub i32);
+impl UnderlineType {
+ pub const Undefined: Self = Self(0i32);
+ pub const None: Self = Self(1i32);
+ pub const Single: Self = Self(2i32);
+ pub const Words: Self = Self(3i32);
+ pub const Double: Self = Self(4i32);
+ pub const Dotted: Self = Self(5i32);
+ pub const Dash: Self = Self(6i32);
+ pub const DashDot: Self = Self(7i32);
+ pub const DashDotDot: Self = Self(8i32);
+ pub const Wave: Self = Self(9i32);
+ pub const Thick: Self = Self(10i32);
+ pub const Thin: Self = Self(11i32);
+ pub const DoubleWave: Self = Self(12i32);
+ pub const HeavyWave: Self = Self(13i32);
+ pub const LongDash: Self = Self(14i32);
+ pub const ThickDash: Self = Self(15i32);
+ pub const ThickDashDot: Self = Self(16i32);
+ pub const ThickDashDotDot: Self = Self(17i32);
+ pub const ThickDotted: Self = Self(18i32);
+ pub const ThickLongDash: Self = Self(19i32);
+}
+impl ::core::marker::Copy for UnderlineType {}
+impl ::core::clone::Clone for UnderlineType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Text\"`*"]
+#[repr(transparent)]
+pub struct VerticalCharacterAlignment(pub i32);
+impl VerticalCharacterAlignment {
+ pub const Top: Self = Self(0i32);
+ pub const Baseline: Self = Self(1i32);
+ pub const Bottom: Self = Self(2i32);
+}
+impl ::core::marker::Copy for VerticalCharacterAlignment {}
+impl ::core::clone::Clone for VerticalCharacterAlignment {
+ fn clone(&self) -> Self {
+ *self
+ }
+}