fn self_adt_def(tcx: TyCtxt<'_>, def_id: DefId) -> Option<AdtDef<'_>>
The AdtDef that def_id’s impl block is implemented for, if any.
AdtDef
def_id