pub fn core_to_binding_match_arm(
core_prefix: &str,
variant_name: &str,
fields: &[FieldDef],
) -> StringExpand description
Generate a match arm for core -> binding direction.
When the binding also has data variants, destructure and forward fields.
When the binding is unit-variant-only, discard core data with ...