fn local_adt_def_of_ty<'tcx>(ty: &Ty<'tcx>) -> Option<LocalDefId>
Expand description
Returns the local def id of the ADT if the given ty refers to a local one.
fn local_adt_def_of_ty<'tcx>(ty: &Ty<'tcx>) -> Option<LocalDefId>
Returns the local def id of the ADT if the given ty refers to a local one.