Trait HashMapExt

trait HashMapExt

A convenience trait that can be used together with the type aliases defined to get access to the new() and with_capacity() methods for the HashMap type alias.

Required Methods

fn new() -> Self

Constructs a new HashMap

fn with_capacity(capacity: usize) -> Self

Constructs a new HashMap with a given initial capacity

Implementors