ViewDispatcherCustomEventCallback

Type Alias ViewDispatcherCustomEventCallback 

Source
pub type ViewDispatcherCustomEventCallback = Option<unsafe extern "C" fn(context: *mut c_void, event: u32) -> bool>;
Expand description

Prototype for custom event callback

Aliased Type§

pub enum ViewDispatcherCustomEventCallback {
    None,
    Some(unsafe extern "C" fn(*mut c_void, u32) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, u32) -> bool)

Some value of type T.