Trait wasm_bindgen::convert::IntoWasmAbi
source · 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
.