Skip to content

Instantly share code, notes, and snippets.

View randomPoison's full-sized avatar
💜

Nicole L randomPoison

💜
View GitHub Profile
#[wasm_bindgen]
pub struct MyEmulator {
// Put any state that needs to persist between frames.
}
#[wasm_bindgen]
impl MyEmulator {
#[wasm_bindgen(constructor)]
pub fn new() -> Self {
// ...