{{ self.render_attributes_in_pre() | safe }}
{{ self.render_union() | safe }}
{{ self.document() | safe }}
{% if self.fields_iter().peek().is_some() %}
{{ name }}: {{ self.print_ty(ty) | safe }}
{% if let Some(stability_class) = self.stability_field(field) %}
{% endif %}
{{ self.document_field(field) | safe }}
{% endfor %}
{% endif %}
{{ self.render_assoc_items() | safe }}
{{ self.document_type_layout() | safe }}