Function rustc_trans::middle::ty::bounds_for_trait_refExperimental [-]  [+] [src]

pub fn bounds_for_trait_ref(tcx: &ctxt<'tcx>, trait_ref: &TraitRef<'tcx>) -> ParamBounds<'tcx>

Given a reference to a trait, returns the bounds declared on the trait, with appropriate substitutions applied.