Re-exportsยง
use std::borrow::Borrow;๐use std::cmp::Ordering;๐use std::fmt::Debug;๐use std::fmt::Debug;๐use std::iter::TrustedLen;๐Experimental use std::mem;๐use std::ops::Bound;๐use std::ops::Index;๐use std::ops::IndexMut;๐use std::ops::RangeBounds;๐use rustc_macros::Decodable_NoContext;๐use rustc_macros::Encodable_NoContext;๐use crate::stable_hash::StableHash;๐use crate::stable_hash::StableHashCtxt;๐use crate::stable_hash::StableHasher;๐use crate::stable_hash::StableOrd;๐pub use index_map::SortedIndexMultiMap;
Modulesยง
- index_
map ๐ - A variant of
SortedMapthat preserves insertion order.
Structsยง
- Sorted
Map SortedMapis a data structure with similar characteristics as BTreeMap but slightly different trade-offs: lookup is O(log(n)), insertion and removal are O(n) but elements can be iterated in order cheaply.