wasm-bindgen/crates/macro/ui-tests/structural-and-host-binding.rs
2018-11-08 16:47:46 -08:00

12 lines
183 B
Rust

extern crate wasm_bindgen;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
type Foo;
#[wasm_bindgen(method, structural, host_binding)]
fn bar(this: &Foo);
}