Trait muse_lang::vm::InvokeArgs

source ·
pub trait InvokeArgs {
    // Required method
    fn load(self, vm: &mut VmContext<'_, '_>) -> Result<Arity, ExecutionError>;
}
Expand description

A set of arguments that can be loaded into a virtual machine when invoking a function.

Required Methods§

source

fn load(self, vm: &mut VmContext<'_, '_>) -> Result<Arity, ExecutionError>

Loads the arguments into vm.

Implementations on Foreign Types§

source§

impl<T, const N: usize> InvokeArgs for [T; N]
where T: Into<Value>,

source§

fn load(self, vm: &mut VmContext<'_, '_>) -> Result<Arity, ExecutionError>

Implementors§