Function ra_ap_hir_ty::param_idx [−][src]
pub fn param_idx(db: &dyn HirDatabase, id: TypeParamId) -> Option<usize>
Expand description
Return an index of a parameter in the generic type parameter list by it’s id.
pub fn param_idx(db: &dyn HirDatabase, id: TypeParamId) -> Option<usize>
Return an index of a parameter in the generic type parameter list by it’s id.