3 unstable releases
|0.4.0||May 17, 2022|
|0.3.3||Jan 31, 2022|
|0.3.0||Nov 1, 2021|
#79 in #icu
4,238 downloads per month
Used in 2 crates (via icu_provider_uprops)
icu_codepointtrie is a utility crate of the
This component provides a data structure for an time-efficient lookup of values associated to code points.
It is an implementation of the existing ICU4C UCPTrie / ICU4J CodePointTrie API.
CodePointTrie is designed to provide a read-only view of CodePointTrie data that is exported
from ICU4C. Detailed information about the design of the data structure can be found in the documentation
use icu_codepointtrie::planes; let trie = planes::get_planes_trie(); assert_eq!(0, trie.get(0x41)); // 'A' as u32 assert_eq!(0, trie.get(0x13E0)); // 'Ꮰ' as u32 assert_eq!(1, trie.get(0x10044)); // '𐁄' as u32
For more information on development, authorship, contributing etc. please visit
ICU4X home page.