spinDeviceEventFunction

Type Alias spinDeviceEventFunction 

Source
pub type spinDeviceEventFunction = Option<unsafe extern "C" fn(hEventData: spinDeviceEventData, pEventName: *const c_char, pUserData: *mut c_void)>;
Expand description

Function signatures are used to create and trigger callbacks and events.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.