INNER CODE UNIT · Rust

new_index_map

medialab/xan · src/collections/mod.rs:23

pub fn new_index_map<K, V>() -> IndexMap<K, V> {
    IndexMap::with_hasher(ahash::RandomState::new())
}

pub fn new_index_set<T>() -> IndexSet<T> {
    IndexSet::with_hasher(ahash::RandomState::new())
}

pub mod index_map {
    pub use indexmap::map::Entry;
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…