Trait rustc_data_structures::undo_log::Rollback
source · 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
.