{%- from "enum.tmpl" import declare_enum -%}
{%- from "interface.tmpl" import declare_interface -%}
{%- from "struct.tmpl" import declare_struct -%}
{%- from "union.tmpl" import declare_union -%}
// @generated by //mojo/public/tools/bindings/generators/mojom_rust_generator.py
// from {{module.path}}
#![allow(dead_code)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
chromium::import! {
{%- for imp in imports %}
"{{imp.target}}" as {{imp.use_name}};
{%- endfor %}
}
{%- for enum in module.enums %}
{{declare_enum(enum.name, enum)}}
{% endfor %}
{%- for struct in module.structs %}
{{declare_struct(struct.name, struct)}}
{% endfor %}
{%- for union in module.unions %}
{{declare_union(union)}}
{% endfor %}
{%- for interface in module.interfaces %}
{{declare_interface(interface)}}
{% endfor %}