pub fn typetree_from_ty<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> TypeTree
Generate TypeTree for a specific type. This function analyzes a Rust type and creates appropriate TypeTree metadata.