Skip to main content

on_deactivate

Function on_deactivate 

Source
pub unsafe extern "C" fn on_deactivate<T>(ctx: *mut c_void) -> u8
Expand 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).