alef 0.25.37

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
impl {{ service_name }} {
    #[frb(sync)]
    pub fn new({{ ctor_params }}) -> Self {
        let inner = {{ owner_path }}{{ ctor_call }};
        Self {
            inner: tokio::sync::Mutex::new(Some(inner)),
        }
    }