Trait aoc::util::hash::FastMapBuilder
source · pub trait FastMapBuilder<K, V> {
// Required methods
fn new() -> Self;
fn with_capacity(capacity: usize) -> Self;
fn build<const N: usize>(array: [(K, V); N]) -> Self;
}
Expand description
Convenience methods to contruct a FastMap
.
Required Methods§
fn new() -> Self
fn with_capacity(capacity: usize) -> Self
fn build<const N: usize>(array: [(K, V); N]) -> Self
Object Safety§
This trait is not object safe.