{# Mirror conversions stay unconditional — see rust_mirror_enum_attribute.jinja for rationale. #}
impl From<{{ name }}> for {{ core_ty }} {
    fn from(v: {{ name }}) -> Self {
        {{ core_ty }} {
