Type Alias mozjs::jsapi::JSCSPEvalChecker

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