Attribute Macro enum_from_functions

Source
#[enum_from_functions]
Expand description

A procedural macro attribute that generates an enum based on the functions defined in the impl block it annotates. See the crate documentation for more information.