Traits

A number of traits, under the rhai:: module namespace, provide additional functionalities.

TraitDescriptionMethods
Functrait for creating Rust closures from scriptcreate_from_ast, create_from_script
FuncArgstrait for parsing function call argumentsparse
ModuleResolvertrait implemented by module resolution servicesresolve, resolve_ast
plugin::PluginFunctiontrait implemented by plugin functionscall, is_method_call, is_variadic, clone_boxed, input_names, input_types, return_type