pub fn new(crate_name: &str, crate_disambiguator: CrateDisambiguator) -> StableCrateId {
        use std::hash::Hash;

        let mut hasher = StableHasher::new();
        crate_name.hash(&mut hasher);
        crate_disambiguator.hash(&mut hasher);
        StableCrateId(hasher.finish())
    }
/// Computes the stable ID for a crate with the given name and
/// disambiguator.
Computes the stable ID for a crate with the given name and
disambiguator.
Computes the stable ID for a crate with the given name and disambiguator .
pub fn new(crate_name: &str, crate_disambiguator: CrateDisambiguator) -> StableCrateId {
        use std::hash::Hash;
        let mut hasher = StableHasher::new();
        crate_name.hash(&mut hasher);
        crate_disambiguator.hash(&mut hasher);
        StableCrateId(hasher.finish())
    }
pub fn new ( crate_name : & str , crate_disambiguator : CrateDisambiguator ) -> StableCrateId { use std :: hash :: Hash ; let mut hasher = StableHasher :: new ( ) ; crate_name . hash ( & mut hasher ) ; crate_disambiguator . hash ( & mut hasher ) ; StableCrateId ( hasher . finish ( ) ) }
Computes the stable ID for a crate with the given name and
disambiguator.
Computes the stable ID for a crate with the given name and disambiguator .
crate_name
&str
crate_disambiguator
CrateDisambiguator
crate_name
&str
crate_disambiguator
CrateDisambiguator