[][src]Trait rustc_ap_rustc_data_structures::undo_log::Rollback

pub trait Rollback<U> {
    fn reverse(&mut self, undo: U);
}

A trait implemented for storage types (like SnapshotVecStorage) which can be rolled back using actions of type U.

Required methods

fn reverse(&mut self, undo: U)

Loading content...

Implementations on Foreign Types

impl<D> Rollback<UndoLog<D>> for Vec<<D as SnapshotVecDelegate>::Value> where
    D: SnapshotVecDelegate
[src]

impl<'_, T, U> Rollback<U> for &'_ mut T where
    T: Rollback<U>, 
[src]

Loading content...

Implementors

impl<D> Rollback<UndoLog<D>> for SnapshotVec<D, Vec<<D as SnapshotVecDelegate>::Value>, ()> where
    D: SnapshotVecDelegate
[src]

impl<K> Rollback<UndoLog<Delegate<K>>> for UnificationTable<InPlace<K, Vec<VarValue<K>>, ()>> where
    K: UnifyKey
[src]

impl<K, V> Rollback<UndoLog<K, V>> for FxHashMap<K, V> where
    K: Eq + Hash
[src]

impl<K, V, M, L> Rollback<UndoLog<K, V>> for SnapshotMap<K, V, M, L> where
    K: Eq + Hash,
    M: Rollback<UndoLog<K, V>>, 
[src]

Loading content...