feat(deprecated) Port Instance::exports().

This commit is contained in:
Ivan Enderlin
2020-07-02 13:43:10 +02:00
parent 1a8c4669c2
commit d843dfc17d
2 changed files with 16 additions and 2 deletions

View File

@@ -10,5 +10,6 @@ impl Instance {
fn call(&self, name: &str, params: &[Value]) -> Result<Vec<Value>, Box<dyn Error>>;
fn context(&self) -> Ref<Ctx>;
fn context_mut(&mut self) -> RefMut<Ctx>;
fn exports(&self) -> ExportsIterator<impl Iterator<Item = (&String, &Export)>>;
fn module(&self) -> Module;
}