alef-codegen 0.15.34

Shared codegen utilities for the alef polyglot binding generator
Documentation
1
2
3
4
5
6
7
8
9
10
11
{%- if has_too_many_args %}
#[allow(clippy::too_many_arguments)]
{%- endif %}
#[must_use]
{%- if needs_signature %}
{{ signature_prefix }}{{ sig_defaults }}{{ signature_suffix }}
{%- endif %}
{{ constructor_attr }}
pub fn new({{ param_list }}) -> Self {
    Self { {{ assignments }} }
}