Type Definition itron_asp3::closure::Closure[][src]

pub type Closure = (unsafe extern "C" fn(_: EXINF), EXINF);
This is supported 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.