Type Alias mozjs::jsapi::JS::CreateSliceBudgetCallback

source ·
pub type CreateSliceBudgetCallback = Option<unsafe extern "C" fn(_: GCReason, _: i64) -> SliceBudget>;

Aliased Type§

enum CreateSliceBudgetCallback {
    None,
    Some(unsafe extern "C" fn(_: GCReason, _: i64) -> SliceBudget),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: GCReason, _: i64) -> SliceBudget)

Some value of type T.