CFSetEqualCallBack

Type Alias CFSetEqualCallBack 

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

Type of the callback function used by CFSets for comparing values.

Parameter value1: The first value to compare.

Parameter value2: The second value to compare.

Returns: True if the values are equal, otherwise false.

See also Apple’s documentation

Aliased Type§

pub enum CFSetEqualCallBack {
    None,
    Some(unsafe extern "C-unwind" fn(*const c_void, *const c_void) -> u8),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.