pub type element_hash_computer = Option<unsafe extern "C" fn(el: *const c_void) -> list_hash_t>;Expand description
a function computing the hash of elements.
An hash computing function is a function that: -# receives the reference to an element el -# returns a hash value for el
It is responsibility of the function to handle possible NULL values.
Aliased Type§
enum element_hash_computer {
None,
Some(unsafe extern "C" fn(_: *const c_void) -> i32),
}