pub unsafe extern "C" fn on_deactivate<T: LifecycleCallbacks>(
ctx: *mut c_void,
) -> u8Expand description
ยงSafety
ctx must be a *mut T that outlives the registration and is not
aliased for the duration of the call (the executor spins
single-threaded, so no concurrent &mut T exists).