alef 0.110.4

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6

/// Clear all registered `{{ trait_name }}` plugins.
/// Calls the host crate's configured clear function and stringifies any error.
pub fn {{ clear_fn }}() -> Result<(), String> {
    {{ host_path }}().map_err(|e| e.to_string())
}