Crate enum_collections
source ·Structs
A key-value map optimized for Enums used as keys.
Traits
Provides means to map enum values to positions in arrays backing an EnumMap/EnumTable.
Not intended to be implemented by hand. Deriving it with
#[derive(Enumerated)]
attribute macro is preferred.Attribute Macros
Creates
enum_map::Enumerated implementation for the underlying Enum.
Also derives Copy and Clone.Derive Macros
Creates
enum_map::Enumerated implementation for the underlying Enum.
Also derives Copy and Clone.