Skip to main content

AnvilEventCallback

Type Alias AnvilEventCallback 

Source
pub type AnvilEventCallback = Option<unsafe extern "C" fn(event: *const c_char, payload: *const c_void, context: *mut c_void)>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.