/// 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) -> &'tcx TraitDef<'tcx> {
        lookup_locally_or_in_crate_store(
            "trait_defs", did, &self.trait_defs,
            || self.arenas.trait_defs.alloc(csearch::get_trait_def(self, did))
        )
    }
pub fn lookup_trait_def ( & self , did : DefId ) -> & ' tcx TraitDef < ' tcx > { lookup_locally_or_in_crate_store ( " " , did , & self . trait_defs , | | self . arenas . trait_defs . alloc ( csearch :: get_trait_def ( self , 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