[][src]Function prehash::new_prehashed_map_with_capacity

#[must_use]pub fn new_prehashed_map_with_capacity<K, V>(
    capacity: usize
) -> PrehashedMap<K, V>
This is supported on crate feature std only.

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.