GeneralCategory
enum · ferroui-base · v0.5.0
enum GeneralCategory
The Unicode GeneralCategory property values, numbered as the generated tries store them.
Members
OtherControlFormatUnassignedPrivateUseSurrogateLetterCasedLetterLowercaseLetterModifierLetterOtherLetterTitlecaseLetterUppercaseLetterMarkSpacingMarkEnclosingMarkNonspacingMarkNumberDecimalNumberLetterNumberOtherNumberPunctuationConnectorPunctuationDashPunctuationClosePunctuationFinalPunctuationInitialPunctuationOtherPunctuationOpenPunctuationSymbolCurrencySymbolModifierSymbolMathSymbolOtherSymbolSeparatorLineSeparatorParagraphSeparatorSpaceSeparatorCOUNTfrom_u32
Other
Other = 0
Property value alias: C# Cc | Cf | Cn | Co | Cs
Control
Control = 1
Property value alias: Cc
Format
Format = 2
Property value alias: Cf
Unassigned
Unassigned = 3
Property value alias: Cn
PrivateUse
PrivateUse = 4
Property value alias: Co
Surrogate
Surrogate = 5
Property value alias: Cs
Letter
Letter = 6
Property value alias: L# Ll | Lm | Lo | Lt | Lu
CasedLetter
CasedLetter = 7
Property value alias: LC# Ll | Lt | Lu
LowercaseLetter
LowercaseLetter = 8
Property value alias: Ll
ModifierLetter
ModifierLetter = 9
Property value alias: Lm
OtherLetter
OtherLetter = 10
Property value alias: Lo
TitlecaseLetter
TitlecaseLetter = 11
Property value alias: Lt
UppercaseLetter
UppercaseLetter = 12
Property value alias: Lu
Mark
Mark = 13
Property value alias: M
SpacingMark
SpacingMark = 14
Property value alias: Mc
EnclosingMark
EnclosingMark = 15
Property value alias: Me
NonspacingMark
NonspacingMark = 16
Property value alias: Mn
Number
Number = 17
Property value alias: N# Nd | Nl | No
DecimalNumber
DecimalNumber = 18
Property value alias: Nd
LetterNumber
LetterNumber = 19
Property value alias: Nl
OtherNumber
OtherNumber = 20
Property value alias: No
Punctuation
Punctuation = 21
Property value alias: P
ConnectorPunctuation
ConnectorPunctuation = 22
Property value alias: Pc
DashPunctuation
DashPunctuation = 23
Property value alias: Pd
ClosePunctuation
ClosePunctuation = 24
Property value alias: Pe
FinalPunctuation
FinalPunctuation = 25
Property value alias: Pf
InitialPunctuation
InitialPunctuation = 26
Property value alias: Pi
OtherPunctuation
OtherPunctuation = 27
Property value alias: Po
OpenPunctuation
OpenPunctuation = 28
Property value alias: Ps
Symbol
Symbol = 29
Property value alias: S# Sc | Sk | Sm | So
CurrencySymbol
CurrencySymbol = 30
Property value alias: Sc
ModifierSymbol
ModifierSymbol = 31
Property value alias: Sk
MathSymbol
MathSymbol = 32
Property value alias: Sm
OtherSymbol
OtherSymbol = 33
Property value alias: So
Separator
Separator = 34
Property value alias: Z# Zl | Zp | Zs
LineSeparator
LineSeparator = 35
Property value alias: Zl
ParagraphSeparator
ParagraphSeparator = 36
Property value alias: Zp
SpaceSeparator
SpaceSeparator = 37
Property value alias: Zs
COUNT
const COUNT: usize
The number of values.
from_u32
const fn from_u32(value: u32) -> Self
Converts the numeric value stored in the generated tries (the cast upstream performs).
Values outside of the enum map to Other (value 0).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqPartialOrdOrdHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.