pub trait FxHashMapExt<K, V> {
// Required methods
fn new() -> Self;
fn with_capacity(capacity: usize) -> Self;
}Expand description
Extension trait for creating FxHashMap instances.
Required Methods§
Sourcefn with_capacity(capacity: usize) -> Self
fn with_capacity(capacity: usize) -> Self
Create a new map with the given capacity.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".