Trait rhai::packages::Package [−][src]
pub trait Package {
fn init(lib: &mut Module);
fn as_shared_module(&self) -> Shared<Module>;
fn get(&self) -> Shared<Module> { ... }
}Expand description
Trait that all packages must implement.
Required methods
Retrieve the generic package library from this package.
Provided methods
👎 Deprecated since 0.19.9:
use as_shared_module instead
Retrieve the generic package library from this package.
This method is deprecated and will be removed in the future.
Use as_shared_module instead.