alef 0.23.13

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
    extern "Rust" {
        type {{ service_name }};
        #[swift_bridge(swift_name = "{{ ep_camel }}")]
        fn {{ ep_snake }}(
            &mut self,
{%- for param in params %}
            {{ param.name }}: {{ param.rust_type }},
{%- endfor %}
        ) -> {{ return_type }};
    }