Type Alias mozjs_sys::jsapi::JS::SelfHostedWriter

source ·
pub type SelfHostedWriter = Option<unsafe extern "C" fn(arg1: *mut JSContext, arg2: SelfHostedCache) -> bool>;

Aliased Type§

enum SelfHostedWriter {
    None,
    Some(unsafe extern "C" fn(_: *mut JSContext, _: [u64; 2]) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSContext, _: [u64; 2]) -> bool)

Some value of type T.