Crate enumx

source ·
Expand description

This project provides ad-hoc enum types, and traits for user-defined enum exchange.

See enumx README for more.

Structs

Recursive descent indices for IntoEnumX
Indicates an impossible index for Enum0, internal use only.

Enums

Traits

Indicates the prototype for an enum that participates in enum exchange.
Constructs a user-defined enum from another user-defined enum.
Converts a user-defined enum into another user-defined enum.
Constructs an ad-hoc enum from another one.
Constructs an enum from one of its variant type.
Converts into an enum as its variant.
Converts an ad-hoc enum into another one.