Type Alias mozjs::jsapi::JS::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§
None
No value.
Some(unsafe extern "C" fn(_: *mut JSContext, _: GCProgress, _: *const GCDescription))
Some value of type T
.