pub fn typetree_from_ty<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> TypeTree
Generate a TypeTree for a specific type. Mainly a convenience wrapper around the actual implementation.