Macro indexmap_with_default
macro_rules! indexmap_with_default {
($H:ty; $($key:expr => $value:expr,)+) => { ... };
($H:ty; $($key:expr => $value:expr),*) => { ... };
}
Create an [IndexMap][crate::IndexMap] from a list of key-value pairs
and a [BuildHasherDefault][core::hash::BuildHasherDefault]-wrapped custom hasher.
Example
use indexmap_with_default;
use FnvHasher;
let map = indexmap_with_default!;
assert_eq!;
assert_eq!;
assert_eq!;
// "a" is the first key
assert_eq!;