Type Alias mozjs::jsapi::GCSliceCallback

source ·
pub type GCSliceCallback = Option<unsafe extern "C" fn(_: *mut JSContext, _: GCProgress, _: *const GCDescription)>;

Aliased Type§

enum GCSliceCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut JSContext, _: GCProgress, _: *const GCDescription)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSContext, _: GCProgress, _: *const GCDescription))

Some value of type T.