Skip to main content

hash_interface

Function hash_interface 

Source
pub fn hash_interface(
    name: &str,
    type_bindings: &[Binding<'_>],
    func_bindings: &[Binding<'_>],
) -> TypeHash
Expand description

Hash an interface (includes binding names). Bindings should be in canonical order (sorted by name).