Skip to main content

LumenEventFn

Type Alias LumenEventFn 

Source
pub type LumenEventFn = unsafe extern "C" fn(event: *const LumenEvent, user_data: *mut c_void);
Expand description

C callback invoked when a bound event fires. event is borrowed for the duration of the call; copy anything retained. user_data is the pointer passed to lumen_on.