Trait wasm_bindgen::convert::OptionFromWasmAbi
source · pub trait OptionFromWasmAbi: FromWasmAbi {
// Required method
fn is_none(abi: &Self::Abi) -> bool;
}
Expand description
Indicates that this type can be received from JS as Option<Self>
.
This trait is used when implementing FromWasmAbi for Option<T>
.