fn encode_inherent_implementations(&mut self, def_id: DefId) -> LazySeq<DefIndex> {
        match self.tcx.inherent_impls.borrow().get(&def_id) {
            None => LazySeq::empty(),
            Some(implementations) => {
                self.lazy_seq(implementations.iter().map(|&def_id| {
                    assert!(def_id.is_local());
                    def_id.index
                }))
            }
        }
    }
// Encodes the inherent implementations of a structure, enumeration, or trait.
Encodes the inherent implementations of a structure, enumeration, or trait.
Encodes the inherent implementations of a structure enumeration or trait .
fn encode_inherent_implementations(&mut self, def_id: DefId) -> LazySeq<DefIndex> {
        match self.tcx.inherent_impls.borrow().get(&def_id) {
            None => LazySeq::empty(),
            Some(implementations) => {
                self.lazy_seq(implementations.iter().map(|&def_id| {
                    assert!(def_id.is_local());
                    def_id.index
                }))
            }
        }
    }
fn encode_inherent_implementations ( & mut self , def_id : DefId ) -> LazySeq < DefIndex > { match self . tcx . inherent_impls . borrow ( ) . get ( & def_id ) { None => LazySeq :: empty ( ) , Some ( implementations ) => { self . lazy_seq ( implementations . iter ( ) . map ( | & def_id | { assert ! ( def_id is_local ( ) ) ; def_id . index } ) ) } } }
Encodes the inherent implementations of a structure, enumeration, or trait.
Encodes the inherent implementations of a structure enumeration or trait .
&mut self
def_id
DefId