Skip to main content

self_adt_def

Function self_adt_def 

Source
fn self_adt_def(tcx: TyCtxt<'_>, def_id: DefId) -> Option<AdtDef<'_>>
Expand description

The AdtDef that def_id’s impl block is implemented for, if any.