Type Alias fltk_sys::menu::custom_handler_callback

source ·
pub type custom_handler_callback = Option<unsafe extern "C" fn(arg1: *mut Fl_Widget, arg2: c_int, arg3: *mut c_void) -> c_int>;

Aliased Type§

enum custom_handler_callback {
    None,
    Some(unsafe extern "C" fn(_: *mut Fl_Widget, _: i32, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut Fl_Widget, _: i32, _: *mut c_void) -> i32)

Some value of type T.