boolean-enums
Convenient macro to generate enums with Yes and No variants.
Supports no_std
.
Useful in cases of multiple bool arguments:
extern crate boolean_enums;
gen_boolean_enum!;
gen_boolean_enum!;
gen_boolean_enum!;
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.