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]impl<K> Rollback<UndoLog<Delegate<K>>> for UnificationTable<InPlace<K, Vec<VarValue<K>, Global>, ()>> where
K: UnifyKey,
[src]
impl<K> Rollback<UndoLog<Delegate<K>>> for UnificationTable<InPlace<K, Vec<VarValue<K>, Global>, ()>> where
K: UnifyKey,
[src]