pub type GCNurseryCollectionCallback = Option<unsafe extern "C" fn(cx: *mut JSContext, progress: GCNurseryProgress, reason: GCReason, data: *mut c_void)>;Expand description
A nursery collection callback receives the progress of the nursery collection and the reason for the collection.
Aliased Type§
pub enum GCNurseryCollectionCallback {
None,
Some(unsafe extern "C" fn(*mut JSContext, GCNurseryProgress, GCReason, *mut c_void)),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut JSContext, GCNurseryProgress, GCReason, *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.