Trait IntoWasmAbi

pub trait IntoWasmAbi: WasmDescribe

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.

⚠️ Unstable

This is part of the internal convert module, no stability guarantees are provided. Use at your own risk. See its documentation for more details.

Associated Types

type Abi: WasmAbi;

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

Required Methods

fn into_abi(self) -> Self::Abi

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

Implementors