Function rustdoc::html::render::cache::get_all_types [−][src]
pub(crate) fn get_all_types<'tcx>(
generics: &Generics,
decl: &FnDecl,
tcx: TyCtxt<'tcx>,
cache: &Cache
) -> (Vec<TypeWithKind>, Vec<TypeWithKind>)Expand description
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].
