pub trait FxHashMapExt<K, V> {
// Required method
fn new() -> Self;
}Expand description
A trait to add a new constructor for FxHashMap.
§Example
use fx_hash::{FxHashMap, FxHashMapExt};
// Create a new FxHashMap
let map: FxHashMap<String, i32> = FxHashMap::new();Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.