pub type JSHostCleanupFinalizationRegistryCallback = Option<unsafe extern "C" fn(doCleanup: *mut JSFunction, incumbentGlobal: *mut JSObject, data: *mut c_void)>;Aliased Type§
pub enum JSHostCleanupFinalizationRegistryCallback {
None,
Some(unsafe extern "C" fn(*mut JSFunction, *mut JSObject, *mut c_void)),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut JSFunction, *mut JSObject, *mut c_void))
Some value of type T.
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.