pub fn hash_interface( name: &str, type_bindings: &[Binding<'_>], func_bindings: &[Binding<'_>], ) -> TypeHash
Hash an interface (includes binding names). Bindings should be in canonical order (sorted by name).