alef 0.23.13

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
{% if optional -%}
let {{ name }}_core: Option<{{ vec_ty }}> = {{ name }}.map(|v| v.into_iter().map(Into::into).collect());
{%- else -%}
let {{ name }}_core: {{ vec_ty }} = {{ name }}.into_iter().map(Into::into).collect();
{%- endif %}