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