alef-codegen 0.15.6

Shared codegen utilities for the alef polyglot binding generator
Documentation
1
2
3
4
5
6
7
8
9
10
11
{%- if has_derives %}
#[derive(Clone)]
{%- endif %}
{%- for attr in struct_attrs %}
#[{{ attr }}]
{%- endfor %}
pub struct {{ struct_name }} {
{%- if not omit_inner %}
    inner: {{ inner_type }},
{%- endif %}
}