[go: up one dir, main page]

Trait rhai::packages::Package[][src]

pub trait Package {
    fn init(lib: &mut Module);
fn get(&self) -> PackageLibrary; }
Expand description

Trait that all packages must implement.

Required methods

Register all the functions in a package into a store.

Retrieve the generic package library from this package.

Implementors