Trait aoc::util::hash::FastSetBuilder

source ·
pub trait FastSetBuilder<T> {
    // Required methods
    fn new() -> Self;
    fn with_capacity(capacity: usize) -> Self;
    fn build<const N: usize>(array: [T; N]) -> Self;
}
Expand description

Convenience methods to contruct a FastSet.

Required Methods§

source

fn new() -> Self

source

fn with_capacity(capacity: usize) -> Self

source

fn build<const N: usize>(array: [T; N]) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Eq + Hash> FastSetBuilder<T> for FastSet<T>