Function rustdoc::html::render::cache::get_all_types [−][src]
pub(crate) fn get_all_types<'tcx>(
generics: &Generics,
decl: &FnDecl,
tcx: TyCtxt<'tcx>
) -> (Vec<(Type, TypeKind)>, Vec<(Type, TypeKind)>)
Return the full list of types when bounds have been resolved.
i.e. fn foo<A: Display, B: Option<A>>(x: u32, y: B) will return
[u32, Display, Option].