pub struct BacktrackingRecorder<Iter>where
    Iter: Iterator,
{ /* private fields */ }
Expand description

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

Implementations

Create a BacktrackingRecorder from an existing iterator.

Trait Implementations

The type used to refer to positions in the history
Yield a reference to the current point in the history This reference must be valid for as long as the current point remains in the history Read more
Eliminate all the values before the given reference point from the history
Forget all the values before the current position in the iterator Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.