itertools::structs

Type Alias Intersperse

Source
pub type Intersperse<I> = IntersperseWith<I, IntersperseElementSimple<<I as Iterator>::Item>>;
Expand description

An iterator adaptor to insert a particular value between each element of the adapted iterator.

Iterator element type is I::Item

This iterator is fused.

See .intersperse() for more information.

Aliased Typeยง

struct Intersperse<I> { /* private fields */ }