ICU4X
International Components for Unicode
|
#include <ICU4XCodePointMapData16.hpp>
Public Member Functions | |
uint16_t | get (char32_t cp) const |
uint16_t | get32 (uint32_t cp) const |
CodePointRangeIterator | iter_ranges_for_value (uint16_t value) const |
CodePointRangeIterator | iter_ranges_for_value_complemented (uint16_t value) const |
ICU4XCodePointSetData | get_set_for_value (uint16_t value) const |
ICU4XCodePointMapData16 (capi::ICU4XCodePointMapData16 *i) | |
ICU4XCodePointMapData16 ()=default | |
ICU4XCodePointMapData16 (ICU4XCodePointMapData16 &&) noexcept=default | |
ICU4XCodePointMapData16 & | operator= (ICU4XCodePointMapData16 &&other) noexcept=default |
Static Public Member Functions | |
static diplomat::result< ICU4XCodePointMapData16, ICU4XError > | load_script (const ICU4XDataProvider &provider) |
An ICU4X Unicode Map Property object, capable of querying whether a code point (key) to obtain the Unicode property value, for a specific Unicode property.
For properties whose values fit into 16 bits.
See the Rust documentation for properties
for more information.
See the Rust documentation for CodePointMapData
for more information.
See the Rust documentation for CodePointMapDataBorrowed
for more information.
|
inlineexplicit |
|
default |
|
defaultnoexcept |
|
inline |
Gets the value for a code point.
See the Rust documentation for get
for more information.
|
inline |
Gets the value for a code point (specified as a 32 bit integer, in UTF-32)
|
inline |
Gets a [ICU4XCodePointSetData
] representing all entries in this map that map to the given value
See the Rust documentation for get_set_for_value
for more information.
|
inline |
Produces an iterator over ranges of code points that map to value
See the Rust documentation for iter_ranges_for_value
for more information.
Lifetimes: this
must live at least as long as the output.
|
inline |
Produces an iterator over ranges of code points that do not map to value
See the Rust documentation for iter_ranges_for_value_complemented
for more information.
Lifetimes: this
must live at least as long as the output.
|
inlinestatic |
See the Rust documentation for script
for more information.
|
defaultnoexcept |