Type Alias JSJobFunc

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

Aliased Type§

pub 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.