{# Default Tera template for Rust module generation #}
{# Context variables: name, visibility, imports, items, attributes #}
//! {{ name }} module
//!
//! Auto-generated by ggen - DO NOT EDIT manually
//!
//! This module was generated from RDF ontology definitions.

{% for attr in attributes %}
#![{{ attr }}]
{% endfor %}

{% for import in imports %}
use {{ import.path }}{% if import.alias %} as {{ import.alias }}{% endif %};
{% endfor %}

{% for item in items %}
{% if item.type == "Struct" %}
{% include "struct.tera" %}
{% elif item.type == "Impl" %}
{% include "impl.tera" %}
{% elif item.type == "Enum" %}
{% include "enum.tera" %}
{% elif item.type == "Trait" %}
{% include "trait.tera" %}
{% endif %}

{% endfor %}
