Function rustc_trait_selection::traits::coherence::fundamental_ty_inner_tys   [−][src]
fn fundamental_ty_inner_tys<'tcx>(
    tcx: TyCtxt<'tcx>, 
    ty: Ty<'tcx>
) -> Option<impl Iterator<Item = Ty<'tcx>>>Expand description
For #[fundamental] ADTs and &T / &mut T, returns Some with the
type parameters of the ADT, or T, respectively. For non-fundamental
types, returns None.