CFArrayApplierFunction

Type Alias CFArrayApplierFunction 

Source
pub type CFArrayApplierFunction = Option<unsafe extern "C-unwind" fn(*const c_void, *mut c_void)>;
Available on crate feature CFArray only.
Expand description

Type of the callback function used by the apply functions of CFArrays.

Parameter value: The current value from the array.

Parameter context: The user-defined context parameter given to the apply function.

See also Apple’s documentation

Aliased Type§

pub enum CFArrayApplierFunction {
    None,
    Some(unsafe extern "C-unwind" fn(*const c_void, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.