Skip to main content

Module index_map

Module index_map 

Source
Expand description

A variant of SortedMap that preserves insertion order.

Re-exportsยง

use std::hash::Hash; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::hash::Hasher; ๐Ÿ”’
use rustc_index::Idx; ๐Ÿ”’
use rustc_index::IndexVec; ๐Ÿ”’
use rustc_macros::StableHash; ๐Ÿ”’

Structsยง

SortedIndexMultiMap
An indexed multi-map that preserves insertion order while permitting both O(log n) lookup of an item by key and O(1) lookup by index.