mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-19 07:51:26 +00:00
Merge branch 'master' into reexporting_in_2018
This commit is contained in:
crates
backend
cli-support
src
js
macro-support
src
shared
src
typescript-tests
index.ts
src
custom_section.rscustom_section.tslib.rsmemory.tsopt_args_and_ret.rsopt_args_and_ret.tssimple_fn.rssimple_fn.tssimple_struct.rssimple_struct.ts
tsconfig.jsonweb-sys
webidl-tests
guide/src
package.json@ -844,6 +844,18 @@ impl ToTokens for ast::ImportEnum {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::all)]
|
||||
impl wasm_bindgen::convert::OptionIntoWasmAbi for #name {
|
||||
#[inline]
|
||||
fn none() -> Self::Abi { Object::none() }
|
||||
}
|
||||
|
||||
#[allow(clippy::all)]
|
||||
impl wasm_bindgen::convert::OptionFromWasmAbi for #name {
|
||||
#[inline]
|
||||
fn is_none(abi: &Self::Abi) -> bool { Object::is_none(abi) }
|
||||
}
|
||||
|
||||
#[allow(clippy::all)]
|
||||
impl From<#name> for wasm_bindgen::JsValue {
|
||||
fn from(obj: #name) -> wasm_bindgen::JsValue {
|
||||
|
Reference in New Issue
Block a user