|
ICU4X
International Components for Unicode
|
#include <BidiClass.d.hpp>
Public Types | |
| enum | Value { LeftToRight = 0 , RightToLeft = 1 , EuropeanNumber = 2 , EuropeanSeparator = 3 , EuropeanTerminator = 4 , ArabicNumber = 5 , CommonSeparator = 6 , ParagraphSeparator = 7 , SegmentSeparator = 8 , WhiteSpace = 9 , OtherNeutral = 10 , LeftToRightEmbedding = 11 , LeftToRightOverride = 12 , ArabicLetter = 13 , RightToLeftEmbedding = 14 , RightToLeftOverride = 15 , PopDirectionalFormat = 16 , NonspacingMark = 17 , BoundaryNeutral = 18 , FirstStrongIsolate = 19 , LeftToRightIsolate = 20 , RightToLeftIsolate = 21 , PopDirectionalIsolate = 22 } |
Public Member Functions | |
| BidiClass () | |
| constexpr | BidiClass (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::BidiClass | for_char (char32_t ch) |
| static std::optional< icu4x::BidiClass > | from_integer_value (uint8_t other) |
| static std::optional< icu4x::BidiClass > | try_from_str (std::string_view s) |
See the Rust documentation for BidiClass for more information.
| Enumerator | |
|---|---|
| LeftToRight | See the Rust documentation for |
| RightToLeft | See the Rust documentation for |
| EuropeanNumber | See the Rust documentation for |
| EuropeanSeparator | See the Rust documentation for |
| EuropeanTerminator | See the Rust documentation for |
| ArabicNumber | See the Rust documentation for |
| CommonSeparator | See the Rust documentation for |
| ParagraphSeparator | See the Rust documentation for |
| SegmentSeparator | See the Rust documentation for |
| WhiteSpace | See the Rust documentation for |
| OtherNeutral | See the Rust documentation for |
| LeftToRightEmbedding | See the Rust documentation for |
| LeftToRightOverride | See the Rust documentation for |
| ArabicLetter | See the Rust documentation for |
| RightToLeftEmbedding | See the Rust documentation for |
| RightToLeftOverride | See the Rust documentation for |
| PopDirectionalFormat | See the Rust documentation for |
| NonspacingMark | See the Rust documentation for |
| BoundaryNeutral | See the Rust documentation for |
| FirstStrongIsolate | See the Rust documentation for |
| LeftToRightIsolate | See the Rust documentation for |
| RightToLeftIsolate | See the Rust documentation for |
| PopDirectionalIsolate | 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 |