typetree_from_ty

Function typetree_from_ty 

Source
pub fn typetree_from_ty<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> TypeTree
Expand description

Generate TypeTree for a specific type. This function analyzes a Rust type and creates appropriate TypeTree metadata.