[−][src]Trait wasm_bindgen::convert::OptionFromWasmAbi
Indicates that this type can be received from JS as Option<Self>.
This trait is used when implementing FromWasmAbi for Option<T>.
Required Methods
fn is_none(abi: &Self::Abi) -> bool
Tests whether the argument is a "none" instance. If so it will be
deserialized as None, and otherwise it will be passed to
FromWasmAbi.
Implementations on Foreign Types
impl OptionFromWasmAbi for i8[src]
impl OptionFromWasmAbi for i8impl OptionFromWasmAbi for u8[src]
impl OptionFromWasmAbi for u8impl OptionFromWasmAbi for i16[src]
impl OptionFromWasmAbi for i16impl OptionFromWasmAbi for u16[src]
impl OptionFromWasmAbi for u16impl OptionFromWasmAbi for bool[src]
impl OptionFromWasmAbi for boolimpl OptionFromWasmAbi for Box<[u8]>[src]
impl OptionFromWasmAbi for Box<[u8]>impl OptionFromWasmAbi for Box<[i8]>[src]
impl OptionFromWasmAbi for Box<[i8]>impl OptionFromWasmAbi for Box<[u16]>[src]
impl OptionFromWasmAbi for Box<[u16]>impl OptionFromWasmAbi for Box<[i16]>[src]
impl OptionFromWasmAbi for Box<[i16]>impl OptionFromWasmAbi for Box<[u32]>[src]
impl OptionFromWasmAbi for Box<[u32]>impl OptionFromWasmAbi for Box<[i32]>[src]
impl OptionFromWasmAbi for Box<[i32]>impl OptionFromWasmAbi for Box<[u64]>[src]
impl OptionFromWasmAbi for Box<[u64]>impl OptionFromWasmAbi for Box<[i64]>[src]
impl OptionFromWasmAbi for Box<[i64]>impl OptionFromWasmAbi for Box<[f32]>[src]
impl OptionFromWasmAbi for Box<[f32]>impl OptionFromWasmAbi for Box<[f64]>[src]
impl OptionFromWasmAbi for Box<[f64]>impl<T> OptionFromWasmAbi for Vec<T> where
Box<[T]>: FromWasmAbi<Abi = WasmSlice>, [src]
impl<T> OptionFromWasmAbi for Vec<T> where
Box<[T]>: FromWasmAbi<Abi = WasmSlice>, impl OptionFromWasmAbi for String[src]
impl OptionFromWasmAbi for Stringimpl OptionFromWasmAbi for Box<[JsValue]>[src]
impl OptionFromWasmAbi for Box<[JsValue]>