Function rustc::middle::ty::associated_type_parameter_indexUnstable [-] [+] [src]

pub fn associated_type_parameter_index(cx: &ctxt, trait_def: &TraitDef, associated_type_id: DefId) -> usize

Returns the parameter index that the given associated type corresponds to.