Type Alias flipperzero_sys::ViewUpdateCallback

source ·
pub type ViewUpdateCallback = Option<unsafe extern "C" fn(view: *mut View, context: *mut c_void)>;
Expand description

View Update Callback Called upon model change, need to be propagated to GUI throw ViewPort update

§Arguments

  • view - pointer to view
  • context - pointer to context called from GUI thread

Aliased Type§

enum ViewUpdateCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut View, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.