Phidget_OnErrorCallback

Type Alias Phidget_OnErrorCallback 

Source
pub type Phidget_OnErrorCallback = Option<unsafe extern "C" fn(ch: PhidgetHandle, ctx: *mut c_void, code: Phidget_ErrorEventCode, description: *const c_char)>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.