Skip to main content

vec_elem_ty

Function vec_elem_ty 

Source
pub fn vec_elem_ty<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> Option<Ty<'tcx>>
Expand description

Element type of a Vec<T>, if ty is a Vec.