1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
use wasm_bindgen::prelude::*; #[wasm_bindgen] extern { pub type Font; pub type Vector; pub type Element; pub type Color; pub type Geometry; pub type Camera; pub type HTMLElement; pub type MediaElement; pub type SoundFile; pub type Image; pub type Shader; pub type Constant; pub type Graphics; pub type Table; pub type StringDict; pub type Convolver; pub type Renderer; pub type NumberDict; pub type PrintWriter; pub type HTMLCanvasElement; }