Struct witnext::WasmSignature[][src]

pub struct WasmSignature {
    pub params: Vec<WasmType>,
    pub results: Vec<WasmType>,
    pub retptr: Option<Vec<WasmType>>,
}
Expand description

A raw WebAssembly signature with params and results.

Fields

params: Vec<WasmType>

The WebAssembly parameters of this function.

results: Vec<WasmType>

The WebAssembly results of this function.

retptr: Option<Vec<WasmType>>

The raw types, if needed, returned through return pointer located in params.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.