alef 0.21.1

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
{% for method in required_methods %}
if backend.try_call_method("{{ method.name }}", vec![]).is_err() {
    return Err(ext_php_rs::exception::PhpException::default(
        format!("Backend missing required method: {}", "{{ method.name }}")
    ));
}
{% endfor %}