Module trie

Source

Macrosยง

trie_unwrap ๐Ÿ”’
A macro that takes an Option argument and either unwraps it if it has a value or causes the function to return TrieResult::NoMatch if there is no value. This could perhaps be done with std::ops::Try once stabilized.

Structsยง

Char16Trie
This struct represents a de-serialized Char16Trie that was exported from ICU binary data.
Char16TrieIterator
This struct represents an iterator over a Char16Trie.

Enumsยง

TrieResult
An enum representing the return value from a lookup in Char16Trie.

Constantsยง

MAX_BRANCH_LINEAR_SUB_NODE_LENGTH ๐Ÿ”’
MAX_LINEAR_MATCH_LENGTH ๐Ÿ”’
MAX_ONE_UNIT_DELTA ๐Ÿ”’
MAX_ONE_UNIT_NODE_VALUE ๐Ÿ”’
MAX_ONE_UNIT_VALUE ๐Ÿ”’
MIN_LINEAR_MATCH ๐Ÿ”’
MIN_TWO_UNIT_DELTA_LEAD ๐Ÿ”’
MIN_TWO_UNIT_NODE_VALUE_LEAD ๐Ÿ”’
MIN_TWO_UNIT_VALUE_LEAD ๐Ÿ”’
MIN_VALUE_LEAD ๐Ÿ”’
NODE_TYPE_MASK ๐Ÿ”’
THREE_UNIT_DELTA_LEAD ๐Ÿ”’
THREE_UNIT_NODE_VALUE_LEAD ๐Ÿ”’
THREE_UNIT_VALUE_LEAD ๐Ÿ”’
VALUE_IS_FINAL ๐Ÿ”’

Functionsยง

skip_node_value ๐Ÿ”’
skip_value ๐Ÿ”’
u16_lead ๐Ÿ”’
u16_tail ๐Ÿ”’