Skip to main content

JSDynamicImportFunc

Type Alias JSDynamicImportFunc 

Source
pub type JSDynamicImportFunc = Option<unsafe extern "C" fn(ctx: *mut JSContext, basename: *const c_char, filename: *const c_char, token: JSValue, attributes: JSValue, opaque: *mut c_void)>;

Aliased Type§

pub enum JSDynamicImportFunc {
    None,
    Some(unsafe extern "C" fn(*mut JSContext, *const i8, *const i8, JSValue, JSValue, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut JSContext, *const i8, *const i8, JSValue, JSValue, *mut c_void))

Some value of type T.