macro_rules! expand_and_test_enum {
($name:ident, $test_name:ident) => { ... };
}
Expand description
A simple helper macro adding an as_str function as well as the Display method to any enum.
Avoids writing boilerplate
macro_rules! expand_and_test_enum {
($name:ident, $test_name:ident) => { ... };
}
A simple helper macro adding an as_str function as well as the Display method to any enum.
Avoids writing boilerplate