Skip to main content

FxHashSetExt

Trait FxHashSetExt 

Source
pub trait FxHashSetExt<T> {
    // Required methods
    fn new() -> Self;
    fn with_capacity(capacity: usize) -> Self;
}
Expand description

Extension trait for creating FxHashSet instances.

Required Methods§

Source

fn new() -> Self

Create a new empty set.

Source

fn with_capacity(capacity: usize) -> Self

Create a new set with the given capacity.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§