pub type JsMemoryAllocationCallback = Option<unsafe extern "system" fn(callbackstate: *const c_void, allocationevent: JsMemoryEventType, allocationsize: usize) -> bool>;

Aliased Type§

enum JsMemoryAllocationCallback {
    None,
    Some(unsafe extern "system" fn(_: *const c_void, _: JsMemoryEventType, _: usize) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(_: *const c_void, _: JsMemoryEventType, _: usize) -> bool)

Some value of type T.