flipperzero_sys

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§

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.