Crate enum2str

source ·
Expand description

enum2str is a rust derive macro that creates a Display impl for enums. This is useful for strongly typing composable sets of strings.

Usage

Add this to your Cargo.toml:

enum2str = "0.1.9"

Derive Macros