Trait rquickjs_core::ModuleDef[][src]

pub trait ModuleDef {
    fn load<'js>(_ctx: Ctx<'js>, _module: &Module<'js, Created>) -> Result<()> { ... }
fn eval<'js>(
        _ctx: Ctx<'js>,
        _module: &Module<'js, Loaded<Native>>
    ) -> Result<()> { ... } }
Expand description

Module definition trait

Provided methods

The exports should be added here

The exports should be set here

Implementations on Foreign Types

Implementors