[][src]Trait backtracking_iterator::Walkback

pub trait Walkback<'history>: Iterator {
type RefPoint;
    fn get_ref_point(&self) -> Self::RefPoint;
}

An iterator which walks back over a history

Associated Types

type RefPoint

The type used to refer to positions in the history

Loading content...

Required methods

fn get_ref_point(&self) -> Self::RefPoint

Yield a reference to the current point in the history - the current position is before the most-recently-yielded element. This reference must be valid in the parent BacktrackingIterator, and must remain valid for as long as the walkback exists

Loading content...

Implementors

impl<'history, 'record, Iter> Walkback<'history> for ReferencingWalkback<'record, Iter> where
    Iter: Iterator,
    'history: 'record, 
[src]

impl<'history, I> Walkback<'history> for CopyingWalkback<'history, I> where
    I: Iterator,
    I::Item: Clone
[src]

Loading content...