Type Alias mozjs_sys::jsapi::js::PreserveWrapperCallback

source ·
pub type PreserveWrapperCallback = Option<unsafe extern "C" fn(arg1: *mut JSContext, arg2: HandleObject) -> bool>;

Aliased Type§

enum PreserveWrapperCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>) -> bool)

Some value of type T.