Type Alias script::dom::bindings::import::module::jsapi::PreserveWrapperCallback

source ·
pub type PreserveWrapperCallback = Option<unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>) -> 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.