alef 0.25.37

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
/// Wrapper that bridges a foreign JavaScript object to a Rust trait.
pub struct {{ wrapper_name }} {
    inner: napi::bindgen_prelude::Object<'static>,
    cached_name: String,
    cancellation_token: std::sync::Arc<tokio_util::sync::CancellationToken>,
}