CFSetHashCallBack

Type Alias CFSetHashCallBack 

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

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

Parameter value: The value to hash.

Returns: The hash of the value.

See also Apple’s documentation

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.