pub fn impl_trait_ref(&self, id: DefId) -> Option<TraitRef<'tcx>> {
        lookup_locally_or_in_crate_store(
            "impl_trait_refs", id, &self.impl_trait_refs,
            || csearch::get_impl_trait(self, id))
    }
/// Returns the trait-ref corresponding to a given impl, or None if it is
/// an inherent impl.
Returns the trait-ref corresponding to a given impl, or None if it is
an inherent impl.
Returns the trait - ref corresponding to a given impl or None if it is an inherent impl .
pub fn impl_trait_ref(&self, id: DefId) -> Option<TraitRef<'tcx>> {
        lookup_locally_or_in_crate_store(
            "impl_trait_refs", id, &self.impl_trait_refs,
            || csearch::get_impl_trait(self, id))
    }
pub fn impl_trait_ref ( & self , id : DefId ) -> Option < TraitRef < ' tcx > > { lookup_locally_or_in_crate_store ( " " , id , & self . impl_trait_refs , | | csearch :: get_impl_trait ( self , id ) ) }
Returns the trait-ref corresponding to a given impl, or None if it is
an inherent impl.
Returns the trait - ref corresponding to a given impl or None if it is an inherent impl .
&self
id
DefId
&self
id
DefId