Crate cstr_enum_derive

Crate cstr_enum_derive 

Source

Derive Macrosยง

AsCStr
Derive macro for the AsCStr trait. May only be applied to enums.
FromCStr
Derive macro for the FromCStr trait. May only be applied to enums whose variants have no fields.