#enum

enum_macro

Useful macro for enum

6 releases

0.3.1 Jul 23, 2021
0.3.0 Jul 18, 2021
0.2.0 May 30, 2019
0.1.2 May 30, 2019

#385 in Rust patterns

MIT license

8KB
157 lines


lib.rs:

Use use enum_macro::em; or #[macro_use(em)] to import em! macro,.

Notice: DO NOT import all macro, there's are some helper macro in the crate.

For more information about usage, see [em]

No runtime deps