Skip to main content

OrderedMap

Type Alias OrderedMap 

Source
pub type OrderedMap<T> = IndexMap<String, T, FxBuildHasher>;
Expand description

An insertion-ordered table with indexed lookup. Iteration retains language order while reference navigation and member access avoid linear scans.

Aliased Type§

pub struct OrderedMap<T> { /* private fields */ }

Trait Implementations§

Source§

impl From<MapEntries> for OrderedMap<Value>

Source§

fn from(entries: MapEntries) -> Self

Converts to this type from the input type.