pub fn new_prehashed_set_with_capacity<T>(capacity: usize) -> PrehashedSet<T>
Available on crate feature std only.
Expand description

Constructs a new standard hash set with Prehashed elements, 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.