Expand description

Indexable containers

This crate contains set and map implementations backed by a balanced binary tree with subtree node count tracking, allowing easy random access by index of the value within the order implied by the set value or map key. Tree nodes are stored on heap using Box.

Features

FeatureHiSetHiMap
Zero allocation initializationnewtodo
Insert with automatic conversioninserttodo
Borrow value by indexget_by_index
get_by_index_mut
todo
Borrow value by keyget
get_mut
todo
Find index of value by keyindex_oftodo
Remove first/last entrytake_first
take_last
todo
Remove entry by indextake_by_indextodo
Remove entry by key referencetaketodo

Modules

Indexable map (todo)

Indexable set (incomplete)