Function rustc_trans::middle::ty::impl_id_to_trait_refUnstable
[-] [+]
[src]
pub fn impl_id_to_trait_ref(cx: &ctxt<'tcx>, id: u32) -> Rc<TraitRef<'tcx>>
pub fn impl_id_to_trait_ref(cx: &ctxt<'tcx>, id: u32) -> Rc<TraitRef<'tcx>>
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).