|
ICU4X
International Components for Unicode
|
#include <SentenceBreak.d.hpp>
Public Types | |
| enum | Value { Other = 0 , ATerm = 1 , Close = 2 , Format = 3 , Lower = 4 , Numeric = 5 , OLetter = 6 , Sep = 7 , Sp = 8 , STerm = 9 , Upper = 10 , CR = 11 , Extend = 12 , LF = 13 , SContinue = 14 } |
Public Member Functions | |
| SentenceBreak () | |
| constexpr | SentenceBreak (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::SentenceBreak | for_char (char32_t ch) |
| static std::optional< icu4x::SentenceBreak > | from_integer_value (uint8_t other) |
| static std::optional< icu4x::SentenceBreak > | try_from_str (std::string_view s) |
See the Rust documentation for SentenceBreak for more information.
| Enumerator | |
|---|---|
| Other | See the Rust documentation for |
| ATerm | See the Rust documentation for |
| Close | See the Rust documentation for |
| Format | See the Rust documentation for |
| Lower | See the Rust documentation for |
| Numeric | See the Rust documentation for |
| OLetter | See the Rust documentation for |
| Sep | See the Rust documentation for |
| Sp | See the Rust documentation for |
| STerm | See the Rust documentation for |
| Upper | See the Rust documentation for |
| CR | See the Rust documentation for |
| Extend | See the Rust documentation for |
| LF | See the Rust documentation for |
| SContinue | 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 |