Module coil-stdlib

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#

NameDescription
EntryOne key-value pair, as TreeMap iteration yields it.
TreeMapAn ordered map from keys of type K to values of type V.
TreeMapIterAn in-order iterator over a TreeMap, from TreeMap::iter.
↑ ↓ navigate ↵ open