Function clingo_sys::clingo_symbol_hash [] [src]

pub unsafe extern "C" fn clingo_symbol_hash(symbol: clingo_symbol_t) -> usize

Calculate a hash code of a symbol.

Parameters:

  • symbol the target symbol

Returns the hash code of the symbol