Skip to main content

Map

Type Alias Map 

Source
pub type Map<K, V> = HashMap<K, V>;
Expand description

An alias for a key-value map.

When the std feature is enabled, this is an alias for std::collections::HashMap. Otherwise, this is an alias for alloc::collections::BTreeMap.

Aliased Typeยง

pub struct Map<K, V> { /* private fields */ }