Type Alias Closure

Source
pub type Closure = (unsafe extern "C" fn(EXINF), EXINF);
Available on crate feature unstable only.
Expand description

A bundle of a function pointer and associated data.

§Safety

When calling the function pointer, the second value must be provided as the parameter.

If the original closure was !Send, it can only be called from the creator thread.