pub trait IntoWasmAbi: WasmDescribe {
    type Abi: WasmAbi;

    fn into_abi(self) -> Self::Abi;
}
Expand description

A trait for anything that can be converted into a type that can cross the wasm ABI directly, eg u32 or f64.

This is the opposite operation as FromWasmAbi and Ref[Mut]FromWasmAbi.

Required Associated Types§

The wasm ABI type that this converts into when crossing the ABI boundary.

Required Methods§

Convert self into Self::Abi so that it can be sent across the wasm ABI boundary.

Implementations on Foreign Types§

Implementors§

impl<'a> IntoWasmAbi for &'a Array

impl<'a> IntoWasmAbi for &'a ArrayBuffer

impl<'a> IntoWasmAbi for &'a BigInt

impl<'a> IntoWasmAbi for &'a Boolean

impl<'a> IntoWasmAbi for &'a DataView

impl<'a> IntoWasmAbi for &'a Error

impl<'a> IntoWasmAbi for &'a EvalError

impl<'a> IntoWasmAbi for &'a Function

impl<'a> IntoWasmAbi for &'a Generator

impl IntoWasmAbi for Map

impl<'a> IntoWasmAbi for &'a Map

impl<'a> IntoWasmAbi for &'a Iterator

impl<'a> IntoWasmAbi for &'a AsyncIterator

impl<'a> IntoWasmAbi for &'a IteratorNext

impl<'a> IntoWasmAbi for &'a Number

impl IntoWasmAbi for Date

impl<'a> IntoWasmAbi for &'a Date

impl<'a> IntoWasmAbi for &'a Object

impl<'a> IntoWasmAbi for &'a Proxy

impl<'a> IntoWasmAbi for &'a RangeError

impl<'a> IntoWasmAbi for &'a ReferenceError

impl<'a> IntoWasmAbi for &'a RegExp

impl IntoWasmAbi for Set

impl<'a> IntoWasmAbi for &'a Set

impl<'a> IntoWasmAbi for &'a SyntaxError

impl<'a> IntoWasmAbi for &'a TypeError

impl<'a> IntoWasmAbi for &'a UriError

impl<'a> IntoWasmAbi for &'a WeakMap

impl<'a> IntoWasmAbi for &'a WeakSet

impl<'a> IntoWasmAbi for &'a CompileError

impl<'a> IntoWasmAbi for &'a Instance

impl<'a> IntoWasmAbi for &'a LinkError

impl<'a> IntoWasmAbi for &'a RuntimeError

impl<'a> IntoWasmAbi for &'a Module

impl<'a> IntoWasmAbi for &'a Table

impl<'a> IntoWasmAbi for &'a Global

impl<'a> IntoWasmAbi for &'a Memory

impl<'a> IntoWasmAbi for &'a JsString

impl<'a> IntoWasmAbi for &'a Symbol

impl<'a> IntoWasmAbi for &'a Collator

impl<'a> IntoWasmAbi for &'a DateTimeFormat

impl<'a> IntoWasmAbi for &'a NumberFormat

impl<'a> IntoWasmAbi for &'a PluralRules

impl<'a> IntoWasmAbi for &'a Promise

impl<'a> IntoWasmAbi for &'a Int8Array

impl<'a> IntoWasmAbi for &'a Int16Array

impl<'a> IntoWasmAbi for &'a Int32Array

impl<'a> IntoWasmAbi for &'a Uint8Array

impl<'a> IntoWasmAbi for &'a Uint16Array

impl<'a> IntoWasmAbi for &'a Uint32Array

impl<'a> IntoWasmAbi for &'a Float32Array

impl<'a> IntoWasmAbi for &'a Float64Array

impl<'a> IntoWasmAbi for &'a BigInt64Array

impl<'a> IntoWasmAbi for &'a BigUint64Array

impl<'a> IntoWasmAbi for &'a Transport

impl<'a> IntoWasmAbi for &'a Connection

impl<'a> IntoWasmAbi for &'a ListenEvent

impl<'a> IntoWasmAbi for &'a ConnectionEvent