Type Alias mozjs_sys::jsapi::JSReadPrincipalsOp

source ·
pub type JSReadPrincipalsOp = Option<unsafe extern "C" fn(cx: *mut JSContext, reader: *mut JSStructuredCloneReader, outPrincipals: *mut *mut JSPrincipals) -> bool>;

Aliased Type§

enum JSReadPrincipalsOp {
    None,
    Some(unsafe extern "C" fn(_: *mut JSContext, _: *mut JSStructuredCloneReader, _: *mut *mut JSPrincipals) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSContext, _: *mut JSStructuredCloneReader, _: *mut *mut JSPrincipals) -> bool)

Some value of type T.