Trait cop::rewind::Rewind [−][src]
Restore the state of mutable data structures.
In the presence of backtracking, mutable data structures
(such as the substitution) often need to be reset to an earlier state.
Such data structures should implement Rewind<T>
if
T
is a cheap and small characterisation of their state.