Struct wiggle::wasmtime_crate::FuncType [−][src]
pub struct FuncType { /* fields omitted */ }
Expand description
A descriptor for a function in a WebAssembly module.
WebAssembly functions can have 0 or more parameters and results.
Implementations
pub fn new(
params: impl IntoIterator<Item = ValType>,
results: impl IntoIterator<Item = ValType>
) -> FuncType
[src]
pub fn new(
params: impl IntoIterator<Item = ValType>,
results: impl IntoIterator<Item = ValType>
) -> FuncType
[src]Creates a new function descriptor from the given parameters and results.
The function descriptor returned will represent a function which takes
params
as arguments and returns results
when it is finished.
Returns the list of parameter types for this function.
Returns the list of result types for this function.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for FuncType
impl UnwindSafe for FuncType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V