Type Alias mozjs_sys::jsapi::JS::IterateRealmCallback

source ·
pub type IterateRealmCallback = Option<unsafe extern "C" fn(cx: *mut JSContext, data: *mut c_void, realm: *mut Realm, nogc: *const AutoRequireNoGC)>;

Aliased Type§

enum IterateRealmCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut JSContext, _: *mut c_void, _: *mut Realm, _: *const AutoRequireNoGC)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSContext, _: *mut c_void, _: *mut Realm, _: *const AutoRequireNoGC))

Some value of type T.