Module icu_properties::script
source · Expand description
Data and APIs for supporting both Script and Script_Extensions property values in an efficient structure.
Structs§
- A struct that wraps a
Script
array, such as in the return value forget_script_extensions_val()
. - A wrapper around script extensions data. Can be obtained via
load_script_with_extensions_unstable()
and related getters. - A borrowed wrapper around script extension data, returned by
ScriptWithExtensions::as_borrowed()
. More efficient to query.
Constants§
- The number of bits at the low-end of a
ScriptWithExt
value used for storing theScript
value (orextensions
index). - The bit mask necessary to retrieve the
Script
value (orextensions
index) from aScriptWithExt
value.
Functions§
- A version of
script_with_extensions
that uses custom data provided by aDataProvider
. - A version of
script_with_extensions
that uses custom data provided by anAnyProvider
. - Returns a
ScriptWithExtensionsBorrowed
struct that represents the data for the Script and Script_Extensions properties.