Enum sophon_wasm::interpreter::FunctionSignature [] [src]

pub enum FunctionSignature<'a> {
    Module(&'a FunctionType),
    User(&'a UserFunctionDescriptor),
}

Function signature.

Variants

Module function reference.

Native user function refrence.

Methods

impl<'a> FunctionSignature<'a>
[src]

[src]

Get return type of this function.

[src]

Get parameters of this function.

Trait Implementations

impl<'a> Debug for FunctionSignature<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> Clone for FunctionSignature<'a>
[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 FunctionSignature<'a>
[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 !=.

impl<'a> From<&'a FunctionType> for FunctionSignature<'a>
[src]

[src]

Performs the conversion.