fn encode_inherent_implementations(ecx: &EncodeContext,
                                   ebml_w: &mut writer::Encoder,
                                   def_id: DefId) {
    match ecx.tcx.inherent_impls.find(&def_id) {
        None => {}
        Some(&implementations) => {
            for implementation in implementations.iter() {
                ebml_w.start_tag(tag_items_data_item_inherent_impl);
                encode_def_id(ebml_w, implementation.did);
                ebml_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,
                                   ebml_w: &mut writer::Encoder,
                                   def_id: DefId) {
    match ecx.tcx.inherent_impls.find(&def_id) {
        None => {}
        Some(&implementations) => {
            for implementation in implementations.iter() {
                ebml_w.start_tag(tag_items_data_item_inherent_impl);
                encode_def_id(ebml_w, implementation.did);
                ebml_w.end_tag();
            }
        }
    }
}
fn encode_inherent_implementations ( ecx : & EncodeContext , ebml_w : & mut writer :: Encoder , def_id : DefId ) { match ecx . tcx . inherent_impls . find ( & def_id ) { None => { } Some ( & implementations ) => { for implementation in implementations . iter ( ) { ebml_w . start_tag ( tag_items_data_item_inherent_impl ) ; encode_def_id ( ebml_w , implementation . did ) ; ebml_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
ebml_w
&mut writer::Encoder
def_id
DefId
ecx
&EncodeContext
ebml_w
&mut writer::Encoder
def_id
DefId