ICU4X
International Components for Unicode
|
#include <ICU4XScriptWithExtensions.hpp>
Public Member Functions | |
uint16_t | get_script_val (uint32_t code_point) const |
bool | has_script (uint32_t code_point, uint16_t script) const |
ICU4XScriptWithExtensionsBorrowed | as_borrowed () const |
CodePointRangeIterator | iter_ranges_for_script (uint16_t script) const |
ICU4XScriptWithExtensions (capi::ICU4XScriptWithExtensions *i) | |
ICU4XScriptWithExtensions ()=default | |
ICU4XScriptWithExtensions (ICU4XScriptWithExtensions &&) noexcept=default | |
ICU4XScriptWithExtensions & | operator= (ICU4XScriptWithExtensions &&other) noexcept=default |
Static Public Member Functions | |
static diplomat::result< ICU4XScriptWithExtensions, ICU4XError > | create (const ICU4XDataProvider &provider) |
An ICU4X ScriptWithExtensions map object, capable of holding a map of codepoints to scriptextensions values
See the Rust documentation for ScriptWithExtensions
for more information.
|
inlineexplicit |
|
default |
|
defaultnoexcept |
|
inline |
Borrow this object for a slightly faster variant with more operations
See the Rust documentation for as_borrowed
for more information.
Lifetimes: this
must live at least as long as the output.
|
inlinestatic |
See the Rust documentation for script_with_extensions
for more information.
|
inline |
Get the Script property value for a code point
See the Rust documentation for get_script_val
for more information.
|
inline |
Check if the Script_Extensions property of the given code point covers the given script
See the Rust documentation for has_script
for more information.
|
inline |
Get a list of ranges of code points that contain this script in their Script_Extensions values
See the Rust documentation for get_script_extensions_ranges
for more information.
Lifetimes: this
must live at least as long as the output.
|
defaultnoexcept |