pub type PTP_SIMPLE_CALLBACK = Option<unsafe extern "system" fn(instance: PTP_CALLBACK_INSTANCE, context: *mut c_void)>;

Aliased Type§

enum PTP_SIMPLE_CALLBACK {
    None,
    Some(unsafe extern "system" fn(_: PTP_CALLBACK_INSTANCE, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(_: PTP_CALLBACK_INSTANCE, _: *mut c_void))

Some value of type T.