/// Construct a hash for an use.
Construct a hash for an use.
Construct a hash for an use .
fn path_hash<I>(kind: usize, path: I) -> Self
    where
        I: IntoIterator,
        I::Item: IntoComponent,
    {
        let mut hasher = Self::new_hasher();
        kind.hash(&mut hasher);
        for c in path {
            c.hash_component(&mut hasher);
        }
        Self(hasher.finish())
    }
fn path_hash < I > ( kind : usize , path : I ) -> Self where I : IntoIterator , I :: Item : IntoComponent , { let mut hasher = Self :: new_hasher ( ) ; kind . hash ( & mut hasher ) ; for c in path { c . hash_component ( & mut hasher ) ; } Self ( hasher . finish ( ) ) }
Construct a hash for an use.
Construct a hash for an use .
kind
usize
path
I