Type Alias mozjs_sys::jsapi::JS::NativeImpl

source ·
pub type NativeImpl = Option<unsafe extern "C" fn(cx: *mut JSContext, args: *const CallArgs) -> bool>;

Aliased Type§

enum NativeImpl {
    None,
    Some(unsafe extern "C" fn(_: *mut JSContext, _: *const CallArgs) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSContext, _: *const CallArgs) -> bool)

Some value of type T.