pub fn hash(self, instance_type: Hash, field: Hash) -> Hash {
        match self {
            Self::FieldFn(protocol) => Hash::field_fn(protocol, instance_type, field),
            Self::Instance => Hash::instance_function(instance_type, field),
        }
    }
/// Convert the kind into a hash function.
Convert the kind into a hash function.
Convert the kind into a hash function .
pub fn hash(self, instance_type: Hash, field: Hash) -> Hash {
        match self {
            Self::FieldFn(protocol) => Hash::field_fn(protocol, instance_type, field),
            Self::Instance => Hash::instance_function(instance_type, field),
        }
    }
pub fn hash ( self , instance_type : Hash , field : Hash ) -> Hash { match self { Self :: FieldFn ( protocol ) => Hash :: field_fn ( protocol , instance_type , field ) , Self :: Instance => Hash :: instance_function ( instance_type , field ) , } }
Convert the kind into a hash function.
Convert the kind into a hash function .
self
instance_type
Hash
field
Hash
self
instance_type
Hash
field
Hash