HashMapKey-value mapping.Syntaxuse std::collections::HashMap;Descriptioninsert adds an item, get(&key) returns an Option. Imported with use.ExampleLoading editor…▶ Try it yourselfExpected output36When to use?Dictionary, counter.Related commandsVec← iter / map / sum