Function local_adt_def_of_ty

Source
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.