Crate enum_collections

source ·

Structs

A key-value map optimized for Enums used as keys.
A key-value table optimized for Enums used as keys. Initialized with V’s Default values.

Traits

Provides means to map enum values to positions in arrays backing an EnumMap/EnumTable. Not intended to be implemented by hand. Annotating an enum with the #[enum_collections] attribute macro is preferred.

Attribute Macros

Creates enum_map::Enumerated implementation for the underlying Enum. Also derives Copy and Clone.