| #[doc = "*Required features: `\"Data_Text\"`*"] |
| #[repr(transparent)] |
| pub struct AlternateNormalizationFormat(pub i32); |
| impl AlternateNormalizationFormat { |
| pub const NotNormalized: Self = Self(0i32); |
| pub const Number: Self = Self(1i32); |
| pub const Currency: Self = Self(3i32); |
| pub const Date: Self = Self(4i32); |
| pub const Time: Self = Self(5i32); |
| } |
| impl ::core::marker::Copy for AlternateNormalizationFormat {} |
| impl ::core::clone::Clone for AlternateNormalizationFormat { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| pub type AlternateWordForm = *mut ::core::ffi::c_void; |
| pub type SelectableWordSegment = *mut ::core::ffi::c_void; |
| pub type SelectableWordSegmentsTokenizingHandler = *mut ::core::ffi::c_void; |
| pub type SelectableWordsSegmenter = *mut ::core::ffi::c_void; |
| pub type SemanticTextQuery = *mut ::core::ffi::c_void; |
| pub type TextConversionGenerator = *mut ::core::ffi::c_void; |
| pub type TextPhoneme = *mut ::core::ffi::c_void; |
| pub type TextPredictionGenerator = *mut ::core::ffi::c_void; |
| #[doc = "*Required features: `\"Data_Text\"`*"] |
| #[repr(transparent)] |
| pub struct TextPredictionOptions(pub u32); |
| impl TextPredictionOptions { |
| pub const None: Self = Self(0u32); |
| pub const Predictions: Self = Self(1u32); |
| pub const Corrections: Self = Self(2u32); |
| } |
| impl ::core::marker::Copy for TextPredictionOptions {} |
| impl ::core::clone::Clone for TextPredictionOptions { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| pub type TextReverseConversionGenerator = *mut ::core::ffi::c_void; |
| #[repr(C)] |
| #[doc = "*Required features: `\"Data_Text\"`*"] |
| pub struct TextSegment { |
| pub StartPosition: u32, |
| pub Length: u32, |
| } |
| impl ::core::marker::Copy for TextSegment {} |
| impl ::core::clone::Clone for TextSegment { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[doc = "*Required features: `\"Data_Text\"`*"] |
| #[repr(transparent)] |
| pub struct UnicodeGeneralCategory(pub i32); |
| impl UnicodeGeneralCategory { |
| pub const UppercaseLetter: Self = Self(0i32); |
| pub const LowercaseLetter: Self = Self(1i32); |
| pub const TitlecaseLetter: Self = Self(2i32); |
| pub const ModifierLetter: Self = Self(3i32); |
| pub const OtherLetter: Self = Self(4i32); |
| pub const NonspacingMark: Self = Self(5i32); |
| pub const SpacingCombiningMark: Self = Self(6i32); |
| pub const EnclosingMark: Self = Self(7i32); |
| pub const DecimalDigitNumber: Self = Self(8i32); |
| pub const LetterNumber: Self = Self(9i32); |
| pub const OtherNumber: Self = Self(10i32); |
| pub const SpaceSeparator: Self = Self(11i32); |
| pub const LineSeparator: Self = Self(12i32); |
| pub const ParagraphSeparator: Self = Self(13i32); |
| pub const Control: Self = Self(14i32); |
| pub const Format: Self = Self(15i32); |
| pub const Surrogate: Self = Self(16i32); |
| pub const PrivateUse: Self = Self(17i32); |
| pub const ConnectorPunctuation: Self = Self(18i32); |
| pub const DashPunctuation: Self = Self(19i32); |
| pub const OpenPunctuation: Self = Self(20i32); |
| pub const ClosePunctuation: Self = Self(21i32); |
| pub const InitialQuotePunctuation: Self = Self(22i32); |
| pub const FinalQuotePunctuation: Self = Self(23i32); |
| pub const OtherPunctuation: Self = Self(24i32); |
| pub const MathSymbol: Self = Self(25i32); |
| pub const CurrencySymbol: Self = Self(26i32); |
| pub const ModifierSymbol: Self = Self(27i32); |
| pub const OtherSymbol: Self = Self(28i32); |
| pub const NotAssigned: Self = Self(29i32); |
| } |
| impl ::core::marker::Copy for UnicodeGeneralCategory {} |
| impl ::core::clone::Clone for UnicodeGeneralCategory { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[doc = "*Required features: `\"Data_Text\"`*"] |
| #[repr(transparent)] |
| pub struct UnicodeNumericType(pub i32); |
| impl UnicodeNumericType { |
| pub const None: Self = Self(0i32); |
| pub const Decimal: Self = Self(1i32); |
| pub const Digit: Self = Self(2i32); |
| pub const Numeric: Self = Self(3i32); |
| } |
| impl ::core::marker::Copy for UnicodeNumericType {} |
| impl ::core::clone::Clone for UnicodeNumericType { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| pub type WordSegment = *mut ::core::ffi::c_void; |
| pub type WordSegmentsTokenizingHandler = *mut ::core::ffi::c_void; |
| pub type WordsSegmenter = *mut ::core::ffi::c_void; |