Trait wasm_bindgen::convert::OptionIntoWasmAbi
source · pub trait OptionIntoWasmAbi: IntoWasmAbi {
// Required method
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>
.
Required Methods§
Object Safety§
This trait is not object safe.