rustc_hir_analysis::collect

Function trait_def

Source
fn trait_def(tcx: TyCtxt<'_>, def_id: LocalDefId) -> TraitDef