Skip to main content

ModuleLoaderFunc

Type Alias ModuleLoaderFunc 

Source
pub type ModuleLoaderFunc = Option<unsafe extern "C" fn(*mut JsContext, *const c_char, *mut c_void) -> JsValue>;
Expand description

JSModuleLoaderFunc: load the module a normalised key names.

Aliased Type§

pub enum ModuleLoaderFunc {
    None,
    Some(unsafe extern "C" fn(*mut JsContext, *const i8, *mut c_void) -> JsValue),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut JsContext, *const i8, *mut c_void) -> JsValue)

Some value of type T.