alef 0.103.2

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
{% for line in doc_lines %}
/// {{ line }}
{% endfor %}
{% for attr in attrs %}
{{ attr }}
{% endfor %}
#[wasm_bindgen(constructor)]
pub fn new({{ param_list }}) -> {{ struct_name }} {
    {{ struct_name }} { {{ assignments }} }
}