Type Alias hirofa_quickjs_sys::JSJobFunc

source ·
pub type JSJobFunc = Option<unsafe extern "C" fn(ctx: *mut JSContext, argc: c_int, argv: *mut JSValue) -> JSValue>;

Aliased Type§

enum JSJobFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut JSContext, _: i32, _: *mut JSValue) -> JSValue),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSContext, _: i32, _: *mut JSValue) -> JSValue)

Some value of type T.