Crate backtracking_iterator
source ·Structs
A wrapper around an existing iterator to give it a historical representation
with the ability to then produce copying and referencing backtracking iterators
on the history
An iterator over a historical record which produces memory clones of historical
elements
A backwalk through a
CopyingBacktrackingIterator
’s history. Yields items in
the history, and can be used to walk back to a desired point.An iterator over a historical record which produces references to historical
elements
A backwalk through a
ReferencingBacktrackingIterator
’s history. Yields references to
items in the history, and can be used to walk back to a desired point.Traits
An iterator capable of backtracking behaviour
This generifies the copying and non-copying versions and their behaviour
A historical record representation
An iterator which walks back over a history
An iterator that can be walked back on, parameterised for a lifetime
This trait is a workaround for the lack of generic associated types - it is expected
to be implemented
for
every lifetime, for reasons of utility