Trait wasm_bindgen::convert::OptionIntoWasmAbi
source · pub trait OptionIntoWasmAbi: IntoWasmAbi {
fn none() -> Self::Abi;
}
Expand description
Indicates that this type can be passed to JS as Option<Self>
.
This trait is used when implementing IntoWasmAbi for Option<T>
.