[−]Trait rustc_data_structures::undo_log::Rollback

pub trait Rollback<U> {
    pub 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

pub fn reverse(&mut self, undo: U)

Loading content...

Implementors

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...