alef 0.19.13

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
pub fn new(opts: std::collections::HashMap<String, rustler::Term>) -> Self {
    Self {
{% for field in fields -%}
        {{ field.name }}: {{ field.assignment }}
{% endfor -%}
    }
}