在 JavaScript 導入上使用 #[wasm_bindgen]

本節列舉了可用的屬性,用於自訂在 extern "C" { ... } 區塊中導入到 Rust 的 JavaScript 函式和類別的繫結。