Trait ahash::HashSetExt

source ·
pub trait HashSetExt {
    fn new() -> Self;
    fn with_capacity(capacity: usize) -> Self;
}
Expand description

A convenience trait that can be used together with the type aliases defined to get access to the new() and with_capacity() methods for the HashSet type aliases.

Required Methods§

Constructs a new HashSet

Constructs a new HashSet with a given initial capacity

Implementations on Foreign Types§

Implementors§