fn encode_inherent_implementations(ecx: &EncodeContext,
                                   rbml_w: &mut Encoder,
                                   def_id: DefId) {
    match ecx.tcx.inherent_impls.borrow().get(&def_id) {
        None => {}
        Some(implementations) => {
            for &impl_def_id in implementations.iter() {
                rbml_w.start_tag(tag_items_data_item_inherent_impl);
                encode_def_id(rbml_w, impl_def_id);
                rbml_w.end_tag();
            }
        }
    }
}
// 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(ecx: &EncodeContext,
                                   rbml_w: &mut Encoder,
                                   def_id: DefId) {
    match ecx.tcx.inherent_impls.borrow().get(&def_id) {
        None => {}
        Some(implementations) => {
            for &impl_def_id in implementations.iter() {
                rbml_w.start_tag(tag_items_data_item_inherent_impl);
                encode_def_id(rbml_w, impl_def_id);
                rbml_w.end_tag();
            }
        }
    }
}
fn encode_inherent_implementations ( ecx : & EncodeContext , rbml_w : & mut Encoder , def_id : DefId ) { match ecx . tcx . inherent_impls . borrow ( ) . get ( & def_id ) { None => { } Some ( implementations ) => { for & impl_def_id in implementations . iter ( ) { rbml_w . start_tag ( tag_items_data_item_inherent_impl ) ; encode_def_id ( rbml_w , impl_def_id ) ; rbml_w . end_tag ( ) ; } } } }
Encodes the inherent implementations of a structure, enumeration, or trait.
Encodes the inherent implementations of a structure enumeration or trait .
ecx
&EncodeContext
rbml_w
&mut Encoder
def_id
DefId
ecx
&EncodeContext
rbml_w
&mut Encoder
def_id
DefId