pub fn hash_function(params: &[TypeHash], results: &[TypeHash]) -> TypeHash
Hash a function signature. Param names are NOT included (just types in order). Result types are included in order.