alef 0.32.4

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
/// Wrapper that bridges a foreign {{ wrapper_prefix }} object to the `{{ trait_name }}` trait.
pub struct {{ wrapper_name }} {
    inner: {{ foreign_type }},
    cached_name: String,
{% for f in extra_fields %}
    {{ f.name }}: {{ f.ty }},
{% endfor %}
}