ViewPortInputCallback

Type Alias ViewPortInputCallback 

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

ViewPort Input callback called from GUI thread

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.