JSCSPEvalChecker

Type Alias JSCSPEvalChecker 

Source
pub type JSCSPEvalChecker = Option<unsafe extern "C" fn(cx: *mut JSContext, kind: RuntimeCode, codeString: Handle<*mut JSString>, compilationType: CompilationType, parameterStrings: u8, bodyString: Handle<*mut JSString>, parameterArgs: u8, bodyArg: Handle<Value>, outCanCompileStrings: *mut bool) -> bool>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut JSContext, RuntimeCode, Handle<*mut JSString>, CompilationType, u8, Handle<*mut JSString>, u8, Handle<Value>, *mut bool) -> bool)

Some value of type T.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.