wasm-bindgen-macro 0.2.92

Definition of the `#[wasm_bindgen]` attribute, an internal dependency
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::fmt;
use wasm_bindgen::prelude::*;

#[wasm_bindgen(main)]
fn main() -> Result<(), Test> {
    unimplemented!()
}

struct Test;

impl fmt::Debug for Test {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        unimplemented!()
    }
}

#[wasm_bindgen(main)]
fn fail() {}