Type Alias mozjs::jsapi::IterateRealmCallback

source ·
pub type IterateRealmCallback = Option<unsafe extern "C" fn(_: *mut JSContext, _: *mut c_void, _: *mut Realm, _: *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.