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]

[src]

New function with statically known params

[src]

New function with statically unknown params

[src]

Name of the function

[src]

Arguments of the function

[src]

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 !=.