Expand description
Dictionary implementation.
Structs§
- Typed augmented dictionary with fixed length keys.
- An iterator over the entries of an
AugDict. - Typed dictionary with fixed length keys.
- An iterator over the entries of a
Dict. - An iterator over the keys of a
Dict. - Dictionary with fixed length keys (where
Nis a number of bits in each key). - An iterator over the owned entries of a
RawDict. - An iterator over the owned values of a
RawDict. - An iterator over the entries across two
Dict. - An iterator over the values of a
Dict.
Enums§
- Which branch to take when traversing the tree.
- Dictionary bound.
- Dictionary insertion mode.
Traits§
- A trait for values that can be used as augmented values in an augmented dictionary.
- Type which can be used as a dictionary key.
AugDictsearch control flow.
Functions§
- Searches for an item using a predicate on extra values.
- Inserts the value associated with key in aug dictionary in accordance with the logic of the specified
SetModeand comparator for extra - Removes the value associated with key in aug dictionary. Returns a tuple with a new dictionary cell and an optional removed value.
- Builds a new augmented dictionary from an iterator of sorted unique entries.
- Builds a new dictionary from an iterator of sorted unique entries.
- Finds the specified dict bound and returns a key and a value corresponding to the key.
- Finds the specified dict bound and returns a key and cell slice parts corresponding to the key.
- Returns cell slice parts of the value corresponding to the key.
- Returns a
CellSliceof the value corresponding to the key. - Returns cell slice parts of the value corresponding to the key.
- Gets subdictionary by specified prefiex Returns optional dictionary as Cell representation if specified prefix is present in dictionary
- Inserts the value associated with key in dictionary in accordance with the logic of the specified
SetMode. - Inserts the value associated with key in dictionary in accordance with the logic of the specified
SetMode. - Loads a non-empty dictionary from the root cell.
- Merges two dictionaries into one (left)
- Removes the specified dict bound and returns a removed key and cell slice parts.
- Removes the value associated with key in dictionary. Returns a tuple with a new dictionary cell and an optional removed value.
- Splits one dictionary by the key prefix
Type Aliases§
- A type for a comparator function for
AugDict. - Type alias for a pair of key and value as cell slice parts.