oden/third-party/vendor/wasm-bindgen-macro/ui-tests/struct-fields.rs
2024-03-08 11:03:01 -08:00

15 lines
197 B
Rust

use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
pub type Foo;
}
#[wasm_bindgen]
struct Bar {
pub a: Foo,
#[wasm_bindgen(getter_with_clone)]
pub b: Foo,
}
fn main() {}