Crate enumoid[][src]

Expand description

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

Structs

A set of enumoid T’s members.

A total map from enumoid T to values V.

A partial map from enumoid T to values V.

A vector of values V indexed by enumoid T.

A counter between 0 and the number of values inhabiting T

Traits

Workaround for const generics not supporting associated consts yet.

Trait for enumerable types.

Trait for enumerable types with at least one value.

Derive Macros

Derive macro which implements the Enumoid trait