pub fn enum_has_data_variants(enum_def: &EnumDef) -> bool
Returns true if any variant of the enum has data fields. These enums cannot be represented as flat integer enums in bindings.