Trait sauron::prelude::wasm_bindgen::convert::OptionFromWasmAbi [−][src]
pub trait OptionFromWasmAbi: FromWasmAbi {
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>
.