pub fn has_iter_method( cx: &LateContext<'_>, probably_ref_ty: Ty<'_>, ) -> Option<Symbol>
If ty is known to have a iter or iter_mut method, returns a symbol representing the type.
ty
iter
iter_mut