pub fn lookup_trait_def(self, did: DefId) -> &'gcx TraitDef {
        lookup_locally_or_in_crate_store(
            "trait_defs", did, &self.trait_defs,
            || self.alloc_trait_def(self.sess.cstore.trait_def(self.global_tcx(), did))
        )
    }
/// Given the did of a trait, returns its canonical trait ref.
Given the did of a trait, returns its canonical trait ref.
Given the did of a trait returns its canonical trait ref .
pub fn lookup_trait_def(self, did: DefId) -> &'gcx TraitDef {
        lookup_locally_or_in_crate_store(
            "trait_defs", did, &self.trait_defs,
            || self.alloc_trait_def(self.sess.cstore.trait_def(self.global_tcx(), did))
        )
    }
pub fn lookup_trait_def ( self , did : DefId ) -> & ' gcx TraitDef { lookup_locally_or_in_crate_store ( " " , did , & self . trait_defs , | | self . alloc_trait_def ( self . sess . cstore . trait_def ( self . global_tcx ( ) , did ) ) ) }
Given the did of a trait, returns its canonical trait ref.
Given the did of a trait returns its canonical trait ref .
self
did
DefId