Type Alias mozjs_sys::jsapi::JSCSPEvalChecker

source ·
pub type JSCSPEvalChecker = Option<unsafe extern "C" fn(cx: *mut JSContext, kind: RuntimeCode, code: HandleString) -> bool>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.