Function rustdoc::html::render::search_index::get_fn_inputs_and_outputs

source ·
fn get_fn_inputs_and_outputs<'tcx>(
    func: &Function,
    tcx: TyCtxt<'tcx>,
    impl_or_trait_generics: Option<&(Type, Generics)>,
    cache: &Cache
) -> (Vec<RenderType>, Vec<RenderType>, Vec<Vec<RenderType>>)
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].