Type Alias flipperzero_sys::ViewNavigationCallback

source ·
pub type ViewNavigationCallback = Option<unsafe extern "C" fn(context: *mut c_void) -> u32>;
Expand description

View navigation callback

§Arguments

  • context - pointer to context

§Returns

next view id called from GUI thread

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void) -> u32)

Some value of type T.