Enum parity_wasm::interpreter::UserFunctionDescriptor [] [src]

pub enum UserFunctionDescriptor {
    Static(&'static str&'static [ValueType]Option<ValueType>),
    Heap(StringVec<ValueType>, Option<ValueType>),
}
Deprecated since 0.23

: Use wasmi crate to interpret wasm

User function descriptor

Variants

Deprecated since 0.23

: Use wasmi crate to interpret wasm

Static function definition

Deprecated since 0.23

: Use wasmi crate to interpret wasm

Dynamic heap function definition

Methods

impl UserFunctionDescriptor
[src]

[src]

Deprecated since 0.23

: Use wasmi crate to interpret wasm

New function with statically known params

[src]

Deprecated since 0.23

: Use wasmi crate to interpret wasm

New function with statically unknown params

[src]

Deprecated since 0.23

: Use wasmi crate to interpret wasm

Name of the function

[src]

Deprecated since 0.23

: Use wasmi crate to interpret wasm

Arguments of the function

[src]

Deprecated since 0.23

: Use wasmi crate to interpret wasm

Return type of the function

Trait Implementations

impl Debug for UserFunctionDescriptor
[src]

[src]

Formats the value using the given formatter.

impl Clone for UserFunctionDescriptor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> PartialEq for UserFunctionDescriptor
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.