pub fn new_prehashed_map_with_capacity<K, V>(
    capacity: usize
) -> PrehashedMap<K, V>
Available on crate feature std only.
Expand description

Constructs a new standard hash map with Prehashed keys, Passthru hashing, and the specified capacity.

Security

If the hash function used for prehashing is weak, the set may be vulnerable to Denial of Service attacks.