Trait rustc_ap_rustc_data_structures::undo_log::Rollback [−][src]
pub trait Rollback<U> {
fn reverse(&mut self, undo: U);
}Expand description
A trait implemented for storage types (like SnapshotVecStorage) which can be rolled back using actions of type U.
Required methods
Implementations on Foreign Types
impl<D> Rollback<UndoLog<D>> for Vec<<D as SnapshotVecDelegate>::Value, Global> where
D: SnapshotVecDelegate, [src]
impl<D> Rollback<UndoLog<D>> for Vec<<D as SnapshotVecDelegate>::Value, Global> where
D: SnapshotVecDelegate, [src]Implementors
impl<D> Rollback<UndoLog<D>> for SnapshotVec<D, Vec<<D as SnapshotVecDelegate>::Value, Global>, ()> where
D: SnapshotVecDelegate, [src]
impl<D> Rollback<UndoLog<D>> for SnapshotVec<D, Vec<<D as SnapshotVecDelegate>::Value, Global>, ()> where
D: SnapshotVecDelegate, [src]