Module convert

Source
Expand description

Traits and implementations used to convert between native values and WebAssembly ones.

MacrosΒ§

count_idents πŸ”’
from_to_native_wasm_type πŸ”’
from_to_native_wasm_type_same_size πŸ”’
impl_wasmtypelist πŸ”’

StructsΒ§

S0
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S1
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S2
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S3
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S4
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S5
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S6
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S7
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S8
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S9
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S10
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S11
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S12
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S13
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S14
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S15
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S16
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S17
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S18
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S19
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S20
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S21
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S22
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S23
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S24
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S25
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.
S26
A structure with a C-compatible representation that can hold a set of Wasm values. This type is used by WasmTypeList::CStruct.

TraitsΒ§

FromToNativeWasmType
A trait to convert a Rust value to a WasmNativeType value, or to convert WasmNativeType value to a Rust value.
IntoResult
The IntoResult trait turns a WasmTypeList into a Result<WasmTypeList, Self::Error>.
NativeWasmType
NativeWasmType represents a Wasm type that has a direct representation on the host (hence the β€œnative” term).
NativeWasmTypeInto
NativeWasmTypeInto performs conversions from and into NativeWasmType types with a context.
WasmTypeList
The WasmTypeList trait represents a tuple (list) of Wasm typed values. It is used to get low-level representation of such a tuple.