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

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

User function descriptor

Variants

Static function definition

Dynamic heap function definition

Methods

impl UserFunctionDescriptor
[src]

New function with statically known params

New function with statically unknown params

Name of the function

Arguments of the function

Return type of the function

Trait Implementations

impl Debug for UserFunctionDescriptor
[src]

Formats the value using the given formatter.

impl Clone for UserFunctionDescriptor
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for UserFunctionDescriptor
[src]

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

This method tests for !=.