pub type PrismAvailabilityCallback = Option<unsafe extern "C" fn(userdata: *mut c_void, backend: PrismBackendId, name: *const c_char, available: bool)>;Expand description
The type of a function invoked when a backend’s runtime availability changes.
Aliased Type§
pub enum PrismAvailabilityCallback {
None,
Some(unsafe extern "C" fn(*mut c_void, u64, *const i8, bool)),
}