typetree_from_ty_impl

Function typetree_from_ty_impl 

Source
fn typetree_from_ty_impl<'tcx>(
    tcx: TyCtxt<'tcx>,
    ty: Ty<'tcx>,
    depth: usize,
    visited: &mut Vec<Ty<'tcx>>,
) -> TypeTree
Expand description

Implementation of TypeTree generation logic.