Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
vendor
/
wasm-bindgen-macro-0.2.92
/
ui-tests
/
struct-fields.rs
blob: dee2c89343d9d970b3c0c26525a583720ef12b5d [
file
] [
log
] [
blame
] [
edit
]
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
()
{}