Skip to main content

FastMapExt

Trait FastMapExt 

Source
pub trait FastMapExt<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 construct a FastMap.

Required Methods§

Source

fn new() -> Self

Source

fn with_capacity(capacity: usize) -> Self

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<K: Eq + Hash, V> FastMapExt<K, V> for FastMap<K, V>