Struct sophon_wasm::interpreter::ExecutionParams [] [src]

pub struct ExecutionParams<'a> {
    pub args: Vec<RuntimeValue>,
    pub externals: HashMap<String, Arc<ModuleInstanceInterface + 'a>>,
}

Execution context.

Fields

Arguments.

Execution-local external modules.

Methods

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

[src]

Create new execution params with given externa; module override.

[src]

Add argument.

Trait Implementations

impl<'a> Clone for ExecutionParams<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Default for ExecutionParams<'a>
[src]

[src]

Returns the "default value" for a type. Read more

impl<'a> From<Vec<RuntimeValue>> for ExecutionParams<'a>
[src]

[src]

Performs the conversion.