The Iterator and IntoIterator TraitsCreating Iteratorsiter and iter_mut MethodsIntoIterator Implementationsfrom_fn and successorsdrain MethodsOther Iterator SourcesIterator Adaptersmap and filterfilter_map and flat_mapflattentake and take_whileskip and skip_whilepeekablefuseReversible Iterators and revinspectchainenumeratezipby_refcloned, copiedcycleConsuming IteratorsSimple Accumulation: count, sum, productmax, minmax_by, min_bymax_by_key, min_by_keyComparing Item Sequencesany and allposition, rposition, and ExactSizeIteratorfold and rfoldtry_fold and try_rfoldnth, nth_backlastfind, rfind, and find_mapBuilding Collections: collect and FromIteratorThe Extend Traitpartitionfor_each and try_for_eachImplementing Your Own Iterators