pub trait Interop {
// Required methods
fn mutator(&mut self) -> &mut Mutator;
fn call_method(
&mut self,
recv: Value,
name: Sym,
args: &[Value],
) -> RtResult<Option<Value>>;
}Expand description
Calls back into the VM for operations defined in Catallaxy code.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".