ViewNavigationCallback

Type Alias 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§

pub 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.