Type Alias HashSet

Source
pub type HashSet<T, S = DefaultHashBuilder> = HashSet<T, S>;

Aliased Type§

pub struct HashSet<T, S = DefaultHashBuilder> { /* private fields */ }

Trait Implementations§

Source§

impl<K, S: BuildHasher + Default> HashCollectionExt for HashSet<K, S>

Source§

fn new() -> Self

Returns a new collection with default capacity, using S::default() to build the hasher.
Source§

fn with_capacity(capacity: usize) -> Self

Returns a new collection with capacity, using S::default() to build the hasher.