pub fn item_generics(self, did: DefId) -> &'gcx Generics<'gcx> {
        lookup_locally_or_in_crate_store(
            "generics", did, &self.generics,
            || self.alloc_generics(self.sess.cstore.item_generics(self.global_tcx(), did)))
    }
/// Given the did of an item, returns its generics.
Given the did of an item, returns its generics.
Given the did of an item returns its generics .
pub fn item_generics(self, did: DefId) -> &'gcx Generics<'gcx> {
        lookup_locally_or_in_crate_store(
            "generics", did, &self.generics,
            || self.alloc_generics(self.sess.cstore.item_generics(self.global_tcx(), did)))
    }
pub fn item_generics ( self , did : DefId ) -> & ' gcx Generics < ' gcx > { lookup_locally_or_in_crate_store ( " " , did , & self . generics , | | self . alloc_generics ( self . sess . cstore . item_generics ( self . global_tcx ( ) , did ) ) ) }
Given the did of an item, returns its generics.
Given the did of an item returns its generics .
self
did
DefId