Crate enumoid[][src]

This crate is a Rust library which provides containers indexed by enums.

Re-exports

pub use base::Enumoid;
pub use base::Enumoid1;

Modules

base

Structs

EnumFlags

A set of enumoid T’s members.

EnumMap

A total map from enumoid T to values V.

EnumOptionMap

A partial map from enumoid T to values V.

EnumVec

A vector of values V indexed by enumoid T.

Derive Macros

Enumoid

Derive macro which implements the Enumoid trait