pub trait IntoWasmAbi: WasmDescribe {
type Abi: WasmAbi;
// Required method
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
.
§⚠️ 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.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.