#include <GeneralCategory.d.hpp>
|
| enum | Value {
Unassigned = 0
, UppercaseLetter = 1
, LowercaseLetter = 2
, TitlecaseLetter = 3
,
ModifierLetter = 4
, OtherLetter = 5
, NonspacingMark = 6
, SpacingMark = 8
,
EnclosingMark = 7
, DecimalNumber = 9
, LetterNumber = 10
, OtherNumber = 11
,
SpaceSeparator = 12
, LineSeparator = 13
, ParagraphSeparator = 14
, Control = 15
,
Format = 16
, PrivateUse = 17
, Surrogate = 18
, DashPunctuation = 19
,
OpenPunctuation = 20
, ClosePunctuation = 21
, ConnectorPunctuation = 22
, InitialPunctuation = 28
,
FinalPunctuation = 29
, OtherPunctuation = 23
, MathSymbol = 24
, CurrencySymbol = 25
,
ModifierSymbol = 26
, OtherSymbol = 27
} |
| |
◆ Value
| Enumerator |
|---|
| Unassigned | |
| UppercaseLetter | |
| LowercaseLetter | |
| TitlecaseLetter | |
| ModifierLetter | |
| OtherLetter | |
| NonspacingMark | |
| SpacingMark | |
| EnclosingMark | |
| DecimalNumber | |
| LetterNumber | |
| OtherNumber | |
| SpaceSeparator | |
| LineSeparator | |
| ParagraphSeparator | |
| Control | |
| Format | |
| PrivateUse | |
| Surrogate | |
| DashPunctuation | |
| OpenPunctuation | |
| ClosePunctuation | |
| ConnectorPunctuation | |
| InitialPunctuation | |
| FinalPunctuation | |
| OtherPunctuation | |
| MathSymbol | |
| CurrencySymbol | |
| ModifierSymbol | |
| OtherSymbol | |
◆ GeneralCategory() [1/2]
| icu4x::GeneralCategory::GeneralCategory |
( |
| ) |
|
|
default |
◆ GeneralCategory() [2/2]
| icu4x::GeneralCategory::GeneralCategory |
( |
Value | v | ) |
|
|
inlineconstexpr |
◆ for_char()
◆ from_integer_value()
Convert from an integer using the ICU4C integer mappings for General_Category Convert from an integer value from ICU4C or CodePointMapData
◆ long_name()
| std::optional< std::string_view > icu4x::GeneralCategory::long_name |
( |
| ) |
const |
|
inline |
Convert to an integer using the ICU4C integer mappings for General_Category Get the "long" name of this property value (returns empty if property value is unknown)
See the Rust documentation for get for more information.
◆ operator bool()
| icu4x::GeneralCategory::operator bool |
( |
| ) |
const |
|
explicitdelete |
◆ operator Value()
| icu4x::GeneralCategory::operator Value |
( |
| ) |
const |
|
inlineconstexpr |
◆ short_name()
| std::optional< std::string_view > icu4x::GeneralCategory::short_name |
( |
| ) |
const |
|
inline |
Get the "short" name of this property value (returns empty if property value is unknown)
See the Rust documentation for get for more information.
◆ to_group()
◆ to_integer_value()
| uint8_t icu4x::GeneralCategory::to_integer_value |
( |
| ) |
const |
|
inline |
Convert to an integer value usable with ICU4C and CodePointMapData
The documentation for this class was generated from the following files: