dtolnay/enumn

Enum variants with Option data

kotx opened this issue · 1 comments

kotx commented

Would it be possible to automatically initialize enum variants with data as None or some other value?

Perhaps, but it's not something I would prefer to support in this crate. It could be implemented in a fork if someone requires.