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§
Sourcefn with_capacity(capacity: usize) -> Self
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".