Type Alias CSTL_Hash

Source
pub type CSTL_Hash = Option<unsafe extern "C" fn(instance: *const c_void) -> usize>;
Expand description

Obtain a hash for an instance of an object.

The relation a == b => hash(a) == hash(b) must hold.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.