ViewCallback

Type Alias ViewCallback 

Source
pub type ViewCallback = Option<unsafe extern "C" fn(context: *mut c_void)>;
Expand description

View callback

§Arguments

  • context - pointer to context called from GUI thread

Aliased Type§

pub enum ViewCallback {
    None,
    Some(unsafe extern "C" fn(*mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void))

Some value of type T.