pub fn type_id_hash(self, ty: Ty<'tcx>) -> u64 {
        let mut hasher = TypeIdHasher::new(self);
        hasher.visit_ty(ty);
        hasher.finish()
    }
/// Creates a hash of the type `Ty` which will be the same no matter what crate
/// context it's calculated within. This is used by the `type_id` intrinsic.
Creates a hash of the type `Ty` which will be the same no matter what crate
context it's calculated within. This is used by the `type_id` intrinsic.
Creates a hash of the type ` Ty ` which will be the same no matter what crate context it ' s calculated within . This is used by the ` type_id ` intrinsic .
pub fn type_id_hash(self, ty: Ty<'tcx>) -> u64 {
        let mut hasher = TypeIdHasher::new(self);
        hasher.visit_ty(ty);
        hasher.finish()
    }
pub fn type_id_hash ( self , ty : Ty < ' tcx > ) -> u64 { let mut hasher = TypeIdHasher :: new ( self ) ; hasher . visit_ty ( ty ) ; hasher . finish ( ) }
Creates a hash of the type `Ty` which will be the same no matter what crate
context it's calculated within.
Creates a hash of the type ` Ty ` which will be the same no matter what crate context it ' s calculated within .
self
ty
Ty<'tcx>