CFDictionaryApplierFunction

Type Alias CFDictionaryApplierFunction 

Source
pub type CFDictionaryApplierFunction = Option<unsafe extern "C" fn(key: *const c_void, value: *const c_void, context: *mut c_void)>;
Expand description

@typedef CFDictionaryApplierFunction Type of the callback function used by the apply functions of CFDictionarys. @param key The current key for the value. @param value The current value from the dictionary. @param context The user-defined context parameter given to the apply function.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.