wasm-bridge 0.1.0

Run WASM modules on desktop or on the web using wasmtime's API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::*;

#[derive(Clone, Debug, Default)]
pub struct Store<T> {
    engine: Engine,
    _data: T,
}

impl<T> Store<T> {
    pub fn engine(&self) -> &Engine {
        &self.engine
    }
}