|
ICU4X
International Components for Unicode
|
#include <WordBreak.d.hpp>
Public Types | |
| enum | Value { Other = 0 , ALetter = 1 , Format = 2 , Katakana = 3 , MidLetter = 4 , MidNum = 5 , Numeric = 6 , ExtendNumLet = 7 , CR = 8 , Extend = 9 , LF = 10 , MidNumLet = 11 , Newline = 12 , RegionalIndicator = 13 , HebrewLetter = 14 , SingleQuote = 15 , DoubleQuote = 16 , EBase = 17 , EBaseGAZ = 18 , EModifier = 19 , GlueAfterZwj = 20 , ZWJ = 21 , WSegSpace = 22 } |
Public Member Functions | |
| WordBreak () | |
| constexpr | WordBreak (Value v) |
| constexpr | operator Value () const |
| operator bool () const =delete | |
| std::optional< std::string_view > | long_name () const |
| std::optional< std::string_view > | short_name () const |
| uint8_t | to_integer_value () const |
Static Public Member Functions | |
| static icu4x::WordBreak | for_char (char32_t ch) |
| static std::optional< icu4x::WordBreak > | from_integer_value (uint8_t other) |
| static std::optional< icu4x::WordBreak > | try_from_str (std::string_view s) |
See the Rust documentation for WordBreak for more information.
| Enumerator | |
|---|---|
| Other | See the Rust documentation for |
| ALetter | See the Rust documentation for |
| Format | See the Rust documentation for |
| Katakana | See the Rust documentation for |
| MidLetter | See the Rust documentation for |
| MidNum | See the Rust documentation for |
| Numeric | See the Rust documentation for |
| ExtendNumLet | See the Rust documentation for |
| CR | See the Rust documentation for |
| Extend | See the Rust documentation for |
| LF | See the Rust documentation for |
| MidNumLet | See the Rust documentation for |
| Newline | See the Rust documentation for |
| RegionalIndicator | See the Rust documentation for |
| HebrewLetter | See the Rust documentation for |
| SingleQuote | See the Rust documentation for |
| DoubleQuote | See the Rust documentation for |
| EBase | See the Rust documentation for |
| EBaseGAZ | See the Rust documentation for |
| EModifier | See the Rust documentation for |
| GlueAfterZwj | See the Rust documentation for |
| ZWJ | See the Rust documentation for |
| WSegSpace | See the Rust documentation for |
|
inline |
|
inlineconstexpr |
|
inlinestatic |
See the Rust documentation for for_char for more information.
|
inlinestatic |
Convert from an integer value from ICU4C or CodePointMapData
See the Rust documentation for from_icu4c_value for more information.
|
inline |
Get the "long" name of this property value (returns empty if property value is unknown)
See the Rust documentation for get for more information.
|
explicitdelete |
|
inlineconstexpr |
|
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.
|
inline |
Convert to an integer value usable with ICU4C and CodePointMapData
See the Rust documentation for to_icu4c_value for more information.
|
inlinestatic |