XPLMMenuHandler_f

Type Alias XPLMMenuHandler_f 

Source
pub type XPLMMenuHandler_f = Option<unsafe extern "C" fn(inMenuRef: *mut c_void, inItemRef: *mut c_void)>;
Expand description

XPLMMenuHandler_f

A menu handler function takes two reference pointers, one for the menu (specified when the menu was created) and one for the item (specified when the item was created).

Aliased Type§

pub enum XPLMMenuHandler_f {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, *mut c_void))

Some value of type T.