Trait wasm_bindgen::convert::OptionFromWasmAbi [−][src]
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[src]
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 u8[src]
impl OptionFromWasmAbi for i16[src]
impl OptionFromWasmAbi for u16[src]
impl OptionFromWasmAbi for bool[src]
impl OptionFromWasmAbi for char[src]
impl OptionFromWasmAbi for Box<[u8]>[src]
impl OptionFromWasmAbi for Box<[i8]>[src]
impl OptionFromWasmAbi for Box<[u16]>[src]
impl OptionFromWasmAbi for Box<[i16]>[src]
impl OptionFromWasmAbi for Box<[u32]>[src]
impl OptionFromWasmAbi for Box<[i32]>[src]
impl OptionFromWasmAbi for Box<[u64]>[src]
impl OptionFromWasmAbi for Box<[i64]>[src]
impl OptionFromWasmAbi for Box<[usize]>[src]
impl OptionFromWasmAbi for Box<[isize]>[src]
impl OptionFromWasmAbi for Box<[f32]>[src]
impl OptionFromWasmAbi for Box<[f64]>[src]
impl<T> OptionFromWasmAbi for Vec<T> where
Box<[T]>: FromWasmAbi<Abi = WasmSlice>, [src]
Box<[T]>: FromWasmAbi<Abi = WasmSlice>,