[−][src]Trait rhai::NativeCallable
Trait implemented by all native Rust functions that are callable by Rhai.
Required methods
fn abi(&self) -> NativeFunctionABI
Get the ABI type of a native Rust function.
fn call(
&self,
args: &mut [&'a mut Dynamic]
) -> Result<Dynamic, Box<EvalAltResult>>
&self,
args: &mut [&'a mut Dynamic]
) -> Result<Dynamic, Box<EvalAltResult>>
Call a native Rust function.