itertools

Module peek_nth

Source

Structs§

Functions§

  • A drop-in replacement for std::iter::Peekable which adds a peek_nth method allowing the user to peek at a value several iterations forward without advancing the base iterator.