Resolve

Trait Resolve 

Source
pub trait Resolve {
    type HostFunc: HostFunc;

    // Provided methods
    fn resolve_mem(&self, module: &str, name: &str) -> Option<&[u8]> { ... }
    fn resolve_table(
        &self,
        module: &str,
        name: &str,
    ) -> Option<&[Option<Funcidx>]> { ... }
    fn resolve_global(&self, module: &str, name: &str) -> Option<Val> { ... }
    fn resolve_func(&self, module: &str, name: &str) -> Option<Self::HostFunc> { ... }
}

Required Associated Types§

Provided Methods§

Source

fn resolve_mem(&self, module: &str, name: &str) -> Option<&[u8]>

Source

fn resolve_table(&self, module: &str, name: &str) -> Option<&[Option<Funcidx>]>

Source

fn resolve_global(&self, module: &str, name: &str) -> Option<Val>

Source

fn resolve_func(&self, module: &str, name: &str) -> Option<Self::HostFunc>

Implementations on Foreign Types§

Source§

impl Resolve for ()

Implementors§