Type Alias mozjs::jsapi::JS::RealmNameCallback

source ·
pub type RealmNameCallback = Option<unsafe extern "C" fn(_: *mut JSContext, _: *mut Realm, _: *mut i8, _: usize, _: *const AutoRequireNoGC)>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.