pub trait ModuleImporter: Send + Sync {
    // Required methods
    fn import(&self, path: &ModulePath) -> Option<(String, Option<PathBuf>)>;
    fn list_modules(&self) -> Vec<ModulePath>;
}

Required Methods§

Implementors§