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 */ }

Layout§

Note: Encountered an error during type layout; the type failed to be normalized.