collections::tree
Part of coil-stdlib. spool projects get it automatically; with plain coil, pass --root ~/.coil/stdlib/src.
Import what you use (use path::* is not allowed):
use collections::tree::{Entry, TreeMap};
Types#
| Name | Description |
|---|---|
Entry | One key-value pair, as TreeMap iteration yields it. |
TreeMap | An ordered map from keys of type K to values of type V. |
TreeMapIter | An in-order iterator over a TreeMap, from TreeMap::iter. |