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> over
its own ABI. See OptionIntoWasmAbi.
§⚠️ Unstable
This is part of the internal convert module, no
stability guarantees are provided. Use at your own risk. See its
documentation for more details.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".