[−][src]Trait wasm_bindgen::convert::OptionIntoWasmAbi
Indicates that this type can be passed to JS as Option<Self>.
This trait is used when implementing IntoWasmAbi for Option<T>.
Required Methods
fn none() -> Self::Abi
Returns an ABI instance indicating "none", which JS will interpret as
the None branch of this option.
It should be guaranteed that the IntoWasmAbi can never produce the ABI
value returned here.
Implementations on Foreign Types
impl OptionIntoWasmAbi for i8[src]
impl OptionIntoWasmAbi for i8impl OptionIntoWasmAbi for u8[src]
impl OptionIntoWasmAbi for u8impl OptionIntoWasmAbi for i16[src]
impl OptionIntoWasmAbi for i16impl OptionIntoWasmAbi for u16[src]
impl OptionIntoWasmAbi for u16impl OptionIntoWasmAbi for bool[src]
impl OptionIntoWasmAbi for boolimpl OptionIntoWasmAbi for Box<[u8]>[src]
impl OptionIntoWasmAbi for Box<[u8]>impl<'a> OptionIntoWasmAbi for &'a [u8][src]
impl<'a> OptionIntoWasmAbi for &'a [u8]impl<'a> OptionIntoWasmAbi for &'a mut [u8][src]
impl<'a> OptionIntoWasmAbi for &'a mut [u8]impl OptionIntoWasmAbi for Box<[i8]>[src]
impl OptionIntoWasmAbi for Box<[i8]>impl<'a> OptionIntoWasmAbi for &'a [i8][src]
impl<'a> OptionIntoWasmAbi for &'a [i8]impl<'a> OptionIntoWasmAbi for &'a mut [i8][src]
impl<'a> OptionIntoWasmAbi for &'a mut [i8]impl OptionIntoWasmAbi for Box<[u16]>[src]
impl OptionIntoWasmAbi for Box<[u16]>impl<'a> OptionIntoWasmAbi for &'a [u16][src]
impl<'a> OptionIntoWasmAbi for &'a [u16]impl<'a> OptionIntoWasmAbi for &'a mut [u16][src]
impl<'a> OptionIntoWasmAbi for &'a mut [u16]impl OptionIntoWasmAbi for Box<[i16]>[src]
impl OptionIntoWasmAbi for Box<[i16]>impl<'a> OptionIntoWasmAbi for &'a [i16][src]
impl<'a> OptionIntoWasmAbi for &'a [i16]impl<'a> OptionIntoWasmAbi for &'a mut [i16][src]
impl<'a> OptionIntoWasmAbi for &'a mut [i16]impl OptionIntoWasmAbi for Box<[u32]>[src]
impl OptionIntoWasmAbi for Box<[u32]>impl<'a> OptionIntoWasmAbi for &'a [u32][src]
impl<'a> OptionIntoWasmAbi for &'a [u32]impl<'a> OptionIntoWasmAbi for &'a mut [u32][src]
impl<'a> OptionIntoWasmAbi for &'a mut [u32]impl OptionIntoWasmAbi for Box<[i32]>[src]
impl OptionIntoWasmAbi for Box<[i32]>impl<'a> OptionIntoWasmAbi for &'a [i32][src]
impl<'a> OptionIntoWasmAbi for &'a [i32]impl<'a> OptionIntoWasmAbi for &'a mut [i32][src]
impl<'a> OptionIntoWasmAbi for &'a mut [i32]impl OptionIntoWasmAbi for Box<[u64]>[src]
impl OptionIntoWasmAbi for Box<[u64]>impl<'a> OptionIntoWasmAbi for &'a [u64][src]
impl<'a> OptionIntoWasmAbi for &'a [u64]impl<'a> OptionIntoWasmAbi for &'a mut [u64][src]
impl<'a> OptionIntoWasmAbi for &'a mut [u64]impl OptionIntoWasmAbi for Box<[i64]>[src]
impl OptionIntoWasmAbi for Box<[i64]>impl<'a> OptionIntoWasmAbi for &'a [i64][src]
impl<'a> OptionIntoWasmAbi for &'a [i64]impl<'a> OptionIntoWasmAbi for &'a mut [i64][src]
impl<'a> OptionIntoWasmAbi for &'a mut [i64]impl OptionIntoWasmAbi for Box<[f32]>[src]
impl OptionIntoWasmAbi for Box<[f32]>impl<'a> OptionIntoWasmAbi for &'a [f32][src]
impl<'a> OptionIntoWasmAbi for &'a [f32]impl<'a> OptionIntoWasmAbi for &'a mut [f32][src]
impl<'a> OptionIntoWasmAbi for &'a mut [f32]impl OptionIntoWasmAbi for Box<[f64]>[src]
impl OptionIntoWasmAbi for Box<[f64]>impl<'a> OptionIntoWasmAbi for &'a [f64][src]
impl<'a> OptionIntoWasmAbi for &'a [f64]impl<'a> OptionIntoWasmAbi for &'a mut [f64][src]
impl<'a> OptionIntoWasmAbi for &'a mut [f64]impl<T> OptionIntoWasmAbi for Vec<T> where
Box<[T]>: IntoWasmAbi<Abi = WasmSlice>, [src]
impl<T> OptionIntoWasmAbi for Vec<T> where
Box<[T]>: IntoWasmAbi<Abi = WasmSlice>, impl OptionIntoWasmAbi for String[src]
impl OptionIntoWasmAbi for Stringimpl<'a> OptionIntoWasmAbi for &'a str[src]
impl<'a> OptionIntoWasmAbi for &'a strimpl OptionIntoWasmAbi for Box<[JsValue]>[src]
impl OptionIntoWasmAbi for Box<[JsValue]>