Struct ketos::module::ModuleRegistry [] [src]

pub struct ModuleRegistry { /* fields omitted */ }

Loads modules into the running program and caches previously loaded modules

Methods

impl ModuleRegistry
[src]

Creates a new ModuleRegistry using the given ModuleLoader to load new modules.

Inserts a named module into the registry.

Returns the named module, only if it is already loaded.

Returns a loaded module. If the module has not been loaded in this registry; the contained ModuleLoader instance will be used to load it.