[][src]Trait sauron::prelude::wasm_bindgen::convert::OptionIntoWasmAbi

pub trait OptionIntoWasmAbi: IntoWasmAbi {
    fn none() -> Self::Abi;
}

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.

Loading content...

Implementations on Foreign Types

impl<T> OptionIntoWasmAbi for Vec<T> where
    Box<[T]>: IntoWasmAbi,
    <Box<[T]> as IntoWasmAbi>::Abi == WasmSlice
[src]

impl<'a> OptionIntoWasmAbi for &'a [i16][src]

impl<'a> OptionIntoWasmAbi for &'a mut [i8][src]

impl<'a> OptionIntoWasmAbi for &'a [usize][src]

impl<'a> OptionIntoWasmAbi for &'a [u64][src]

impl OptionIntoWasmAbi for Box<[f64]>[src]

impl OptionIntoWasmAbi for i16[src]

impl OptionIntoWasmAbi for Box<[usize]>[src]

impl<'a> OptionIntoWasmAbi for &'a mut [f64][src]

impl<'a> OptionIntoWasmAbi for &'a mut [u8][src]

impl OptionIntoWasmAbi for u16[src]

impl OptionIntoWasmAbi for Box<[i64]>[src]

impl<'a> OptionIntoWasmAbi for &'a [i64][src]

impl OptionIntoWasmAbi for i8[src]

impl<'a> OptionIntoWasmAbi for &'a [f32][src]

impl OptionIntoWasmAbi for char[src]

impl<'a> OptionIntoWasmAbi for &'a [u8][src]

impl<'a> OptionIntoWasmAbi for &'a mut [u32][src]

impl OptionIntoWasmAbi for bool[src]

impl OptionIntoWasmAbi for u8[src]

impl<'a> OptionIntoWasmAbi for &'a [i32][src]

impl OptionIntoWasmAbi for String[src]

impl OptionIntoWasmAbi for Box<[i8]>[src]

impl<'a> OptionIntoWasmAbi for &'a mut [isize][src]

impl OptionIntoWasmAbi for Box<[i32]>[src]

impl OptionIntoWasmAbi for Box<[isize]>[src]

impl<'a> OptionIntoWasmAbi for &'a mut [i64][src]

impl OptionIntoWasmAbi for Box<[i16]>[src]

impl<'a> OptionIntoWasmAbi for &'a [f64][src]

impl OptionIntoWasmAbi for Box<[u16]>[src]

impl<'a> OptionIntoWasmAbi for &'a mut [usize][src]

impl<'a> OptionIntoWasmAbi for &'a mut [f32][src]

impl<'a> OptionIntoWasmAbi for &'a mut [u16][src]

impl<'a> OptionIntoWasmAbi for &'a mut [i32][src]

impl OptionIntoWasmAbi for Box<[u64]>[src]

impl<'a> OptionIntoWasmAbi for &'a [i8][src]

impl<'a> OptionIntoWasmAbi for &'a mut [u64][src]

impl<'a> OptionIntoWasmAbi for &'a mut [i16][src]

impl<'a> OptionIntoWasmAbi for &'a [u16][src]

impl OptionIntoWasmAbi for Box<[f32]>[src]

impl<'a> OptionIntoWasmAbi for &'a [isize][src]

impl OptionIntoWasmAbi for Box<[JsValue]>[src]

impl OptionIntoWasmAbi for Box<[u32]>[src]

impl<'a> OptionIntoWasmAbi for &'a [u32][src]

impl OptionIntoWasmAbi for Box<[u8]>[src]

impl<'a> OptionIntoWasmAbi for &'a str[src]

impl<'a> OptionIntoWasmAbi for &'a Iterator[src]

impl<'a> OptionIntoWasmAbi for &'a Date[src]

impl<'a> OptionIntoWasmAbi for &'a Proxy[src]

impl<'a> OptionIntoWasmAbi for &'a Generator[src]

impl<'a> OptionIntoWasmAbi for &'a Uint16Array[src]

impl OptionIntoWasmAbi for Int32Array[src]

impl OptionIntoWasmAbi for AsyncIterator[src]

impl OptionIntoWasmAbi for Uint8ClampedArray[src]

impl OptionIntoWasmAbi for Set[src]

impl OptionIntoWasmAbi for EvalError[src]

impl<'a> OptionIntoWasmAbi for &'a RuntimeError[src]

impl OptionIntoWasmAbi for JsString[src]

impl OptionIntoWasmAbi for Uint32Array[src]

impl<'a> OptionIntoWasmAbi for &'a Object[src]

impl<'a> OptionIntoWasmAbi for &'a AsyncIterator[src]

impl<'a> OptionIntoWasmAbi for &'a Table[src]

impl<'a> OptionIntoWasmAbi for &'a Uint32Array[src]

impl<'a> OptionIntoWasmAbi for &'a Number[src]

impl OptionIntoWasmAbi for TypeError[src]

impl OptionIntoWasmAbi for Int8Array[src]

impl OptionIntoWasmAbi for Memory[src]

impl<'a> OptionIntoWasmAbi for &'a Instance[src]

impl OptionIntoWasmAbi for NumberFormat[src]

impl OptionIntoWasmAbi for DataView[src]

impl<'a> OptionIntoWasmAbi for &'a Function[src]

impl<'a> OptionIntoWasmAbi for &'a TypeError[src]

impl OptionIntoWasmAbi for UriError[src]

impl OptionIntoWasmAbi for LinkError[src]

impl OptionIntoWasmAbi for Number[src]

impl<'a> OptionIntoWasmAbi for &'a Uint8Array[src]

impl<'a> OptionIntoWasmAbi for &'a SharedArrayBuffer[src]

impl<'a> OptionIntoWasmAbi for &'a NumberFormat[src]

impl<'a> OptionIntoWasmAbi for &'a ReferenceError[src]

impl OptionIntoWasmAbi for CompileError[src]

impl<'a> OptionIntoWasmAbi for &'a Symbol[src]

impl OptionIntoWasmAbi for ArrayBuffer[src]

impl<'a> OptionIntoWasmAbi for &'a Int8Array[src]

impl<'a> OptionIntoWasmAbi for &'a IteratorNext[src]

impl<'a> OptionIntoWasmAbi for &'a Int32Array[src]

impl OptionIntoWasmAbi for Date[src]

impl<'a> OptionIntoWasmAbi for &'a LinkError[src]

impl OptionIntoWasmAbi for RegExp[src]

impl OptionIntoWasmAbi for Uint8Array[src]

impl OptionIntoWasmAbi for WeakSet[src]

impl<'a> OptionIntoWasmAbi for &'a Promise[src]

impl<'a> OptionIntoWasmAbi for &'a DateTimeFormat[src]

impl OptionIntoWasmAbi for Int16Array[src]

impl OptionIntoWasmAbi for Float64Array[src]

impl OptionIntoWasmAbi for Generator[src]

impl OptionIntoWasmAbi for Proxy[src]

impl<'a> OptionIntoWasmAbi for &'a Map[src]

impl<'a> OptionIntoWasmAbi for &'a RegExp[src]

impl<'a> OptionIntoWasmAbi for &'a DataView[src]

impl OptionIntoWasmAbi for Collator[src]

impl OptionIntoWasmAbi for Uint16Array[src]

impl OptionIntoWasmAbi for Boolean[src]

impl OptionIntoWasmAbi for Error[src]

impl OptionIntoWasmAbi for ReferenceError[src]

impl<'a> OptionIntoWasmAbi for &'a SyntaxError[src]

impl<'a> OptionIntoWasmAbi for &'a CompileError[src]

impl<'a> OptionIntoWasmAbi for &'a Uint8ClampedArray[src]

impl OptionIntoWasmAbi for Instance[src]

impl OptionIntoWasmAbi for WeakMap[src]

impl<'a> OptionIntoWasmAbi for &'a Set[src]

impl<'a> OptionIntoWasmAbi for &'a RangeError[src]

impl OptionIntoWasmAbi for Table[src]

impl<'a> OptionIntoWasmAbi for &'a Collator[src]

impl OptionIntoWasmAbi for Promise[src]

impl OptionIntoWasmAbi for DateTimeFormat[src]

impl OptionIntoWasmAbi for RangeError[src]

impl<'a> OptionIntoWasmAbi for &'a Float32Array[src]

impl<'a> OptionIntoWasmAbi for &'a Float64Array[src]

impl OptionIntoWasmAbi for SyntaxError[src]

impl OptionIntoWasmAbi for PluralRules[src]

impl OptionIntoWasmAbi for Symbol[src]

impl OptionIntoWasmAbi for Float32Array[src]

impl OptionIntoWasmAbi for IteratorNext[src]

impl<'a> OptionIntoWasmAbi for &'a Int16Array[src]

impl<'a> OptionIntoWasmAbi for &'a Module[src]

impl OptionIntoWasmAbi for Iterator[src]

impl<'a> OptionIntoWasmAbi for &'a UriError[src]

impl<'a> OptionIntoWasmAbi for &'a Boolean[src]

impl OptionIntoWasmAbi for Array[src]

impl<'a> OptionIntoWasmAbi for &'a PluralRules[src]

impl<'a> OptionIntoWasmAbi for &'a WeakMap[src]

impl OptionIntoWasmAbi for Object[src]

impl OptionIntoWasmAbi for RuntimeError[src]

impl OptionIntoWasmAbi for Module[src]

impl<'a> OptionIntoWasmAbi for &'a EvalError[src]

impl<'a> OptionIntoWasmAbi for &'a ArrayBuffer[src]

impl OptionIntoWasmAbi for SharedArrayBuffer[src]

impl<'a> OptionIntoWasmAbi for &'a WeakSet[src]

impl<'a> OptionIntoWasmAbi for &'a JsString[src]

impl OptionIntoWasmAbi for Function[src]

impl<'a> OptionIntoWasmAbi for &'a Array[src]

impl OptionIntoWasmAbi for Map[src]

impl<'a> OptionIntoWasmAbi for &'a Error[src]

impl<'a> OptionIntoWasmAbi for &'a Memory[src]

Loading content...

Implementors

impl OptionIntoWasmAbi for AnimationEvent[src]

impl OptionIntoWasmAbi for HashChangeEvent[src]

impl OptionIntoWasmAbi for KeyboardEvent[src]

impl OptionIntoWasmAbi for MouseEvent[src]

impl OptionIntoWasmAbi for TransitionEvent[src]

impl OptionIntoWasmAbi for CharacterData[src]

impl OptionIntoWasmAbi for Comment[src]

impl OptionIntoWasmAbi for Document[src]

impl OptionIntoWasmAbi for Element[src]

impl OptionIntoWasmAbi for Event[src]

impl OptionIntoWasmAbi for EventTarget[src]

impl OptionIntoWasmAbi for History[src]

impl OptionIntoWasmAbi for HtmlCollection[src]

impl OptionIntoWasmAbi for HtmlElement[src]

impl OptionIntoWasmAbi for HtmlHeadElement[src]

impl OptionIntoWasmAbi for HtmlInputElement[src]

impl OptionIntoWasmAbi for HtmlTextAreaElement[src]

impl OptionIntoWasmAbi for InputEvent[src]

impl OptionIntoWasmAbi for Location[src]

impl OptionIntoWasmAbi for Node[src]

impl OptionIntoWasmAbi for NodeList[src]

impl OptionIntoWasmAbi for Performance[src]

impl OptionIntoWasmAbi for Response[src]

impl OptionIntoWasmAbi for ScrollToOptions[src]

impl OptionIntoWasmAbi for Text[src]

impl OptionIntoWasmAbi for UiEvent[src]

impl OptionIntoWasmAbi for Window[src]

impl<'a> OptionIntoWasmAbi for &'a AnimationEvent[src]

impl<'a> OptionIntoWasmAbi for &'a HashChangeEvent[src]

impl<'a> OptionIntoWasmAbi for &'a KeyboardEvent[src]

impl<'a> OptionIntoWasmAbi for &'a MouseEvent[src]

impl<'a> OptionIntoWasmAbi for &'a TransitionEvent[src]

impl<'a> OptionIntoWasmAbi for &'a CharacterData[src]

impl<'a> OptionIntoWasmAbi for &'a Comment[src]

impl<'a> OptionIntoWasmAbi for &'a Document[src]

impl<'a> OptionIntoWasmAbi for &'a Element[src]

impl<'a> OptionIntoWasmAbi for &'a Event[src]

impl<'a> OptionIntoWasmAbi for &'a EventTarget[src]

impl<'a> OptionIntoWasmAbi for &'a History[src]

impl<'a> OptionIntoWasmAbi for &'a HtmlCollection[src]

impl<'a> OptionIntoWasmAbi for &'a HtmlElement[src]

impl<'a> OptionIntoWasmAbi for &'a HtmlHeadElement[src]

impl<'a> OptionIntoWasmAbi for &'a HtmlInputElement[src]

impl<'a> OptionIntoWasmAbi for &'a HtmlTextAreaElement[src]

impl<'a> OptionIntoWasmAbi for &'a InputEvent[src]

impl<'a> OptionIntoWasmAbi for &'a Location[src]

impl<'a> OptionIntoWasmAbi for &'a Node[src]

impl<'a> OptionIntoWasmAbi for &'a NodeList[src]

impl<'a> OptionIntoWasmAbi for &'a Performance[src]

impl<'a> OptionIntoWasmAbi for &'a Response[src]

impl<'a> OptionIntoWasmAbi for &'a ScrollToOptions[src]

impl<'a> OptionIntoWasmAbi for &'a Text[src]

impl<'a> OptionIntoWasmAbi for &'a UiEvent[src]

impl<'a> OptionIntoWasmAbi for &'a Window[src]

Loading content...